httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Raheja <arah...@techquotes.com>
Subject Re: [users@httpd] URL config help
Date Fri, 25 Mar 2005 05:11:51 GMT
In your config file you have to specify
 DocumentRoot <directory on file system where index.html is>

It seems you have something like
DocumentRoot /home/www/htdocs
change it to
DocumentRoot /home/www/htdocs/info
if you are trying to make the current
http://www.info.com/info/index.htm
as your homepage

Also look into the DirectoryIndex tag to specify index.htm

Look at apache's docs for the two tags for more info.

HTH
Aman Raheja
http://www.techquotes.com


Randy wrote:

>I'm using Apache 2.0.53 and just had a DNS entry done for my IP 
>address. I can get to my website by typing for example 
>http://www.info.com/info/index.htm but would like to only have to type 
>http://www.info.com to bring up the home page. I have read the manual 
>and tried a few things but with no success. What do I need to change or 
>include in the config to make this work. 
>
>
>
>---------------------------------------------------------------------
>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
>
>
>
>  
>


---------------------------------------------------------------------
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