Click to See Complete Forum and Search --> : real newbie apache question
jedicosmonaut
11-14-2001, 02:25 PM
Sorry for the complete newbieness of the question, but am having problems getting other folders/files show up from a browser. I tried configuring http.conf, but no luck. Can anyone help me get other folders to show up using Apache. Thanks
EyesWideOpen
11-14-2001, 02:56 PM
What do you mean by "other folders/files"? Which folders/files are showing up and which ones aren't?
jedicosmonaut
11-14-2001, 03:29 PM
Sorry, the page that shows up when I type localhost is the default installation was successful page. I am trying to get a simple webpage (s) to show up that is not in the htdocs folder.
Choozo
11-14-2001, 04:02 PM
I would suggest that you spend some time reading the documentation, and the part covering 'document root' in particular.
Cheers :)
EyesWideOpen
11-15-2001, 10:06 AM
Originally posted by jedicosmonaut:
<STRONG>Sorry, the page that shows up when I type localhost is the default installation was successful page. I am trying to get a simple webpage (s) to show up that is not in the htdocs folder.</STRONG>
As Choozo suggested you need to edit your DocumentRoot and the Directory container directly under that to be the directory in which the start page (index.html, index.pl, etc) of your 'simple webpage' resides.
Restart the webserver and you will see the change.
Let us know if you need more help.
[ 15 November 2001: Message edited by: EyesWideOpen ]
jon787
11-18-2001, 02:33 AM
When I got Apache it was already set up to recongize a certain directory in each user's account as a website.
/home/username/public_html was http://localhost/~username/
This might be set up on your's already.
jedicosmonaut
11-19-2001, 11:29 AM
Thanks for all the help. I got it working.