httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: [users@httpd] Permission denied virtualhost alias
Date Fri, 10 Jun 2011 12:05:12 GMT


----- Original Message -----
> 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.

HTTP 304 means Not Modified, this is in reply to time-based requests
on resources. So, if the resource did not change, you'll get this.

HTTP 403 means Forbidden, the request is understood, but the server
refuses to fulfill it, for which ever reason.

That reason is usually stated in the Error Log.


And is generally one of the following three:
http://www.onlamp.com/pub/a/apache/2004/04/22/apacheckbk.html

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message