httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bocalinda <bocali...@gmail.com>
Subject Re: [users@httpd] Permission denied virtualhost alias
Date Fri, 10 Jun 2011 09:16:19 GMT
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@hotmail.com>

>  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@gmail.com
> To: users@httpd.apache.org
> Subject: [users@httpd] 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.
>
>

Mime
View raw message