LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2001, 11:58 PM   #1
onlinesnet
LQ Newbie
 
Registered: Sep 2001
Location: NC
Posts: 5

Rep: Reputation: 0
Question load index.html when only ...com/dir is entered


I'm running Linux Red Hat 7.0 and progressing well in setting up a standalone server. I have been able to get to the /var/www/html/index.html by just typing 10.0.0.147 which is the ip of the box. I have made a new directory /var/www/html/test and placed a new index.html there. From my browswer I can get to it by entering 10.0.0.147/test/index.html, but I would like to get to it by simply entering 10.0.0.147/html/test. What do I need to do to make apache pick up the index.html file when only the directory is entered?

Also, can anybody advise me on the software I need in order to be able to remotely add new virtual web sites, kinda like the big hosting companies do?

Thanks in advance, Roy
 
Old 09-18-2001, 09:40 PM   #2
onlinesnet
LQ Newbie
 
Registered: Sep 2001
Location: NC
Posts: 5

Original Poster
Rep: Reputation: 0
To revise type-o and more info. I found partial fix. If I enter a "/" on the end it works, ie.
10.0.0.147/test/ (brings up index.html)
10.0.0.147/test (doesn't work)

Any ideas on how to make index.html come up without / would be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
index.html ronraj Linux - Newbie 8 06-16-2005 04:54 PM
[apache 2.0] can't get index.html to load fraggie Linux - Software 5 04-09-2005 05:55 AM
index.php to list the contents of the dir?? bruno buys Linux - Software 1 08-30-2004 02:19 AM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM
Spanish index.html liguorir Linux - Software 1 09-24-2003 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration