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@xxxxxxxxxxxxxxxx DocumentRoot /var/www/html/webmail </VirtualHost> <VirtualHost 192.168.10.2:81> ServerName livetekindia12.com ServerAlias www.livetekindia12.com ServerAdmin postmaster@xxxxxxxxxxxxxxxx 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.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature