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! |
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> |
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. |
thanx guys i'll try it tonite!!!! :)
|
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?
|
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
|
just here is fine. Just need the container for that vhost, and the directives youv'e used.
|
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. |