You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Randy <rl...@compascable.net> on 2005/03/25 05:58:58 UTC
[users@httpd] URL config help
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
Re: [users@httpd] URL config help
Posted by ma...@morningstarcom.net.
On Thursday 24 March 2005 23:58, 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.
Maybe you need to change your configuration file's path that tells apache
where to look for the web pages /home directory.
--
Win a Vespa Scooter or a Dell Gift Card worth $3,000.00
http://www.morningstarcom.net/raffle-contest.php
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
---------------------------------------------------------------------
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
Re: [users@httpd] URL config help
Posted by Aman Raheja <ar...@techquotes.com>.
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