Re: Permission denied virtualhost alias

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

 



Hi Steve,

Yes I'm absolutely sure. nslookup returns the same IP address for all 3 hostnames.
As to the file system or site authentication, all sites have the same documentroot, and only 1 doesn't work. I guess that a file system permission is out of the question here?



2011/6/10 Steve Brereton <the.oldgoat@xxxxxxxxxxx>
that's always going to be file system or site authentication.
Are you sure the DNS for the three sites is pointing at the same place?


Date: Fri, 10 Jun 2011 11:08:38 +0200
From: bocalinda@xxxxxxxxx
To: users@xxxxxxxxxxxxxxxx
Subject: Permission denied virtualhost alias


Hi,

I got the following parameters in my VirtualHost configuration:

<VirtualHost *:80>
    ServerName www.someserver.com
    ServerAlias www.otherserver.com
    ServerAlias otherserver.com

    DocumentRoot /var/www/public_html
    ErrorLog /var/log/apache2/error_log
    CustomLog /var/log/apache2/access_log combined

    DirectoryIndex index.html index.htm index.php index.php4 index.php5

    <Directory /var/www/public_html>
        Options -Indexes +IncludesNOEXEC +FollowSymLinks
        allow from all 
        AllowOverride All
    </Directory>
</VirtualHost>

I can access without any problems to www.someserver.com and www.otherserver.com, but otherserver.com (w/out www) returns HTTP error 304: Permission Denied.
I'm clueless about what the reason could be.

Note that all hostnames are pointing to the same IP address.

Any help would be kindly appreciated.



[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