Re: trouble with vhosts and 2.2.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eben wrote:
I just setup a new Fedora Core 9 box, running apache 2.2.8.

I then setup a basic virtual host config using NameVirtualHost *:80

My only virtual host looks like:

<VirtualHost *:80>
   ServerAdmin admin@xxxxxxxxxx
   DocumentRoot /home/domain/www
   ServerName domain.com
   ServerAlias www.domain.com
   ErrorLog /home/domain/logs/error_log
   CustomLog /home/domain/logs/access_log combined

   # NOTE: I added this later, doesn't change anything...
   <Directory "/home/domain/www">
       Options Indexes FollowSymLinks
       AllowOverride None
       Order allow,deny
       Allow from all
</Directory> </VirtualHost>

I've made sure my DirectoryIndex includes all possible index types, SELinux is disabled, Firewall is disabled, permissions on /home/domain are wide open for testing. No matter what I try, I keep getting a 403 Forbidden, and in the error log: (13)Permission denied: access to / denied

I've been reading around on this, but there doesn't seem to be any definitive answers... there seems to be consensus that apache 2.2.x has a bit more security by default, but it's not clear what needs to be changed to allow the virtual hosts to resolve properly.

Any advice is appreciated.

Thanks,
Eben


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

Definitely a linux permissions issue. I'm on Ubuntu where apache runs as user: www-data. Check you permissions on /home/domain/www and your folders below it.

--
Norman
Registered Linux user #461062


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux