LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-30-2006, 07:49 PM   #1
friskydrifter
Member
 
Registered: Jan 2003
Location: AU
Distribution: Whatever - mainly Red Hat
Posts: 32

Rep: Reputation: 15
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!

Last edited by friskydrifter; 11-30-2006 at 07:52 PM.
 
Old 11-30-2006, 09:36 PM   #2
friskydrifter
Member
 
Registered: Jan 2003
Location: AU
Distribution: Whatever - mainly Red Hat
Posts: 32

Original Poster
Rep: Reputation: 15
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!
 
Old 12-07-2006, 01:03 PM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Good job!

Thanks for posting your solution -- it's the way LQ is supposed to work.
 
Old 12-07-2006, 04:01 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.
 
  


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
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
Apache - How can i make own special default page -- Please help me b:z Linux - Networking 7 04-10-2005 09:37 PM
Windows 98, default web page question emailssent General 5 10-13-2004 12:00 PM
apache web server default page link tuxrules Linux - Newbie 9 07-10-2004 05:22 PM
I would like to make a web page! HELP domen Red Hat 4 02-07-2004 11:36 PM


All times are GMT -5. The time now is 11:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration