LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2004, 08:31 PM   #1
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
apache redirect question


I've installed squirrelmail in /usr/share/squirrelmail

how do I configure it so that I can access it via
http://www.mydomain.com/webmail

plus any of the domain I host on my server can use /webmail to access squirrelmail

I've been readin some of the apache2 doc, seems virtualhost tag should be able to do what I want.....
 
Old 10-22-2004, 08:41 PM   #2
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Original Poster
Rep: Reputation: 31
Code:
<VirtualHost my_ip>
        DocumentRoot /usr/share/squirrelmail/src/
        ServerAdmin user@mydomain.com
        ServerName mail.mydomain.com
        DirectoryIndex index.html index.php index.htm index.shtml
</VirtualHost>
Found above from another post here which does similar to what I want. But it seems this way it's bind to one domain (mydomain.com). How do it for all my domains?
 
Old 10-23-2004, 01:03 AM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You don't really need to setup virtual hosts, try:
Code:
Alias /webmail /usr/share/squirrelmail
 
  


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
redirect traffic through apache kola Linux - Networking 7 12-11-2004 07:29 AM
redirect in Apache baslemmens Linux - Networking 6 09-02-2004 12:07 PM
How to redirect apache to tomcat? gepesz Linux - General 0 07-29-2004 09:16 PM
Apache Quick Question Redirect. Linutzo Linux - Software 1 05-12-2004 03:24 PM
apache redirect? fibbi Linux - Software 7 01-30-2004 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration