public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] apache - virtual host not working
@ 2011-12-12  6:23 Joseph
  2011-12-12  7:01 ` J. Roeleveld
  2011-12-12  7:03 ` Matthew Finkel
  0 siblings, 2 replies; 8+ messages in thread
From: Joseph @ 2011-12-12  6:23 UTC (permalink / raw
  To: gentoo-user

Any any body provide me with hint why my "virtual host" is not working in apache?

I've copied server config files from one computer to another.
I used "meld" to be sure most changes are accurate but when try to access virtual host:
I get: 
Forbidden
You don't have permission to access / on this server.

I don't know where else to look.

In /etc/hosts I have:
127.0.0.1 localhost.localdomain localhost mydomain.ca syscon5
10.0.0.100 www.mydomain.ca

If I comment out: #10.0.0.100 www.mydomain.ca
I can access this domain.

in: modules.d/00_default_settings.conf
# We configure the "default" to be a very restrictive set of features.
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

# added below
<Directory "/var/www/localhost/htdocs">
         AllowOverride All
         Order allow,deny
         Allow from all
</Directory>

<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
</FilesMatch> 

I don't know where else to look. I can not access virtual domain on port 80 nor on 443
The server is working perfectly on my other computer running the same version of apache. As stated earlier I've compare configuration file with meld so I'm 
sure there are no mistakes.

-- 
Joseph



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-12-12  9:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-12  6:23 [gentoo-user] apache - virtual host not working Joseph
2011-12-12  7:01 ` J. Roeleveld
2011-12-12  7:03 ` Matthew Finkel
2011-12-12  7:12   ` J. Roeleveld
2011-12-12  7:21   ` [gentoo-user] [SOLVED] " Joseph
2011-12-12  7:26     ` J. Roeleveld
2011-12-12  7:56       ` Matthew Finkel
2011-12-12  9:22       ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox