httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Stevenson <t...@pc-tony.com>
Subject Re: [users@httpd] URGENT Attention Problem
Date Wed, 30 Jan 2008 12:41:38 GMT
kernel.2k5 wrote:
> NameVirtualHost 192.168.10.2:81
> #NameVirtualHost 192.168.10.2:80
> #NameVirtualHost *:81
> 
> #Setenv VLOG
> #<VirtualHost *:81>
> #DocumentRoot /var/www/html
> #ServerName s1.livetekindia.com
> #ServerAlias www.s1.livetekindia.com
> #</VirtualHost>
> 
> <VirtualHost 192.168.10.2:81>
> ServerName livetekindia.com
> ServerAlias www.livetekindia.com
> ServerAdmin postmaster@livetekindia.com
> DocumentRoot /var/www/html/webmail
> </VirtualHost>
> 
> 
> <VirtualHost 192.168.10.2:81>
> ServerName livetekindia12.com
> ServerAlias www.livetekindia12.com
> ServerAdmin postmaster@livetekindia.com
> DocumentRoot /var/www/html/fotostick
> 
> *Alias /about /var/www/html/fotostick/index.php

Whats's the * for?

Also, try adding the alias to the virtual host, not as a global directive.

...


> ===================
> when i checked the error Logs it gives me :
> 
> [Wed Jan 30 17:52:28 2008] [error] [client 192.168.10.2] Directory index
> forbidden by Options directive: /var/www/html/fotostick/, referer:
> http://192.168.10.2/fotostick

This seems to indicate the Alias is not matching, and it is looking for 
a DirectoryIndex file, but cannot find one.


Mime
View raw message