httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Van Crombrugge" <mark.vancrombru...@vliz.be>
Subject [users@httpd] Documentroot does not redirect...
Date Thu, 13 Apr 2006 10:20:19 GMT
When I put the file "index.htm" in my DocumentRoot (/var/www/html) it
displays in my browser.
When I put that file in "/var/www/html/website" and add the following to
httpd.conf:
 
NameVirtualHost *:80
<Virtualhost *:80>
Documentroot /var/www/html/website
ServerName www.website.org
</Virtualhost>
 
When I enter www.website.org in my browser, I still get the 'index.htm' file
in the documentroot and not the one in documentroot/website.
 
Can anyone assist?
I have been working on this for a whole day and so have 2 of my
colleagues...
 
Mark
Belgium

Mime
View raw message