LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How do I make squirrelmail the default web page (https://www.linuxquestions.org/questions/linux-server-73/how-do-i-make-squirrelmail-the-default-web-page-506364/)

friskydrifter 11-30-2006 07:49 PM

How do I make squirrelmail the default web page
 
Think the title says it all

Im running centos4

which runs apache2

I dont want a default error page when I browse to my site. I want the squirrelmail login. And the doco's seem like gobbldy gook to me?

I also think this might be an issue?
http://www.linuxquestions.org/questi...d.php?t=506292

Any help appreciated, I don't want to spend too much time on what I guess is an easy thing to do.
Cheers!

friskydrifter 11-30-2006 09:36 PM

Ok I asked too soon - I worked it out

All i needed to do was edit /etc/httpd/conf/httpd.conf

And change line
DirectoryIndex index.html index.html.var

to

DirectoryIndex /webmail

Its works!

archtoad6 12-07-2006 01:03 PM

Good job!

Thanks for posting your solution -- it's the way LQ is supposed to work.

trickykid 12-07-2006 04:01 PM

Quote:

Originally Posted by friskydrifter
Ok I asked too soon - I worked it out

All i needed to do was edit /etc/httpd/conf/httpd.conf

And change line
DirectoryIndex index.html index.html.var

to

DirectoryIndex /webmail

Its works!

I'm not sure how that is working but DirectoryIndex is used to define what it should look for to display the default index file, if it's html, php, shtml, etc. What you should be editing for your domain if you want squirrelmail to be the default page is to change your DocumentRoot path to your squirrelmail directory.


All times are GMT -5. The time now is 07:24 AM.