LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't make Apache display anything diferent than the "test page" (https://www.linuxquestions.org/questions/linux-networking-3/cant-make-apache-display-anything-diferent-than-the-test-page-136934/)

johann519 01-20-2004 09:41 PM

Can't make Apache display anything diferent than the "test page"
 
Please Help!!! I've set up apache and everything works fine except that I cant get the program to display my page. It only wants to display the 'test page". I've tried setting the base directory to something else but it just won't work. The only thing I can do to get it to work is instead of typing in "www.pipdango.com", I type in "www.pipdango.com/index.html". Is there any feature in Apache 2.0 to allow me to forword all requests from "www.pipdango.com" to "www.pipdango.com/index.html"? Or just fix it out right?
-Thanx :D

P.S: I'm running Red Hat 9 and Apache 2.0!

fragglehorn 01-21-2004 10:18 AM

Don't know much about RH or Apache 2.0, but I'm sure this is fairly universal: In apache's conf file, make sure 'DirectoryIndex' is set to 'index.html'. This is what mine looks like:

<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>

tao2000 01-21-2004 02:29 PM

There is a very useful web-based admin tool called Webmin that will enable you to set up your Apache easily. I had the same problems as you, but thanks to webmin, I've been running Apache on the web for a long time now.
Look on your distribution disks: do a search for Webmin: it might already be on the install disks.

johann519 01-21-2004 03:26 PM

thanx guys i'll try it tonite!!!! :)

Torm3nt 01-21-2004 03:50 PM

johann: could you show me the directives you've used in your virtual host for pipdango? If there is no virtual hosting, could you please show me the default settings you've used?

johann519 01-21-2004 03:57 PM

how do you want me do give them to you? i could just put a link to the apache configuration file here? it'le be on tonite at about 4:15

Torm3nt 01-21-2004 04:21 PM

just here is fine. Just need the container for that vhost, and the directives youv'e used.

johann519 01-21-2004 06:54 PM

I'm a huge noob so i don't know exactly what you mean, but here's a copy of my httpd.conf file . I hope this helps! I don't think i can put a hyperlink here, but i'll post a link on the part of my site that works! www.pipdango.com/index.html


All times are GMT -5. The time now is 06:18 PM.