Major Virtual Host Config Issues
Hey all...
Ok, i'm trying to set up a virtual host for two sites. I have started trying to configure the file for the first one, and no matter what I do. I always get the test page. If you don't know what test page I'm talking about trying looking up my site and you will get it ... http://www.arizonahealthquotes.com ....ok, i'm gonna put my virtual config file down here cause I know that helps you guys. Also the network it set up that the server has an internal ip address of 192.168.1.20, and a public wan address of 63.226.61.140. Thanx guys..you always are a huge help. # # Virtual hosts # # Virtual host Default Virtual Host <VirtualHost 63.226.61.140:80> DocumentRoot /home/klinton/aba/ ServerName www.arizonahealthquotes.com ServerAlias www.arizonahealthquotes.com DirectoryIndex index.php index.html index.htm index.shtml LogLevel debug HostNameLookups off </VirtualHost> thanx again |
Ok, I just looked through my error files and found this too
[Thu Aug 07 16:08:15 2003] [error] [client 192.168.1.20] Directory index forbidden by rule: /var/www/html/ That happens and it gives me the test page I guess. I don't know what it means, but I hope you guys can use it. |
if i change things around to look like this:
# Virtual hosts # # Virtual host Default Virtual Host <VirtualHost *> DirectoryIndex index.php index.html index.htm index.shtml LogLevel debug HostNameLookups off </VirtualHost> # Virtual host www.arizonahealthquotes.com <VirtualHost 192.168.1.20> DocumentRoot /home/klinton/aba/ ServerAdmin klintonkerber@prodigy.net ServerName arizonahealthquotes.com ServerAlias www.arizonahealthquotes.com <Directory "/home/klinton/aba/"> AllowOverride none Allow from from all Deny from from all Order Allow,Deny </Directory> <Directory "/"> AllowOverride none </Directory> </VirtualHost> I get an error message that says i don't have permission to access "/" maybe that will help too |
All times are GMT -5. The time now is 11:21 AM. |