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 05-20-2012, 06:04 PM   #1
redhat19
Member
 
Registered: Jan 2012
Posts: 45

Rep: Reputation: Disabled
Mapping centrally installed roundcube for virtual domains


Hi all,

I have the LAMP stack setup on CentOS 6.2 with virtual domains.
On local disk, my virtual domains are here:
/var/www/vhosts/domain1
/var/www/vhosts/domain2
/var/www/vhosts/domain3
and Apache’s default location for web files is : /var/www/html.

I have roundcube installed at this default location and it maps to http://www.myserver.com/webmail/roundcube
Question #1: How can I map this installation to the virtual domains such that for the virtual domains, users would be able to access roundcube by going to: www.domain1.com/webmail/roundcube
and still get to the same roundcube installation I installed centrally?

#2:
How can I do the same for PostfixAdmin which is at myserver.com/postfixadmin?

Thanks in advance for you help and suggestions.
 
Old 05-21-2012, 01:20 PM   #2
webaccounts
Member
 
Registered: May 2008
Location: Columbus Ohio
Distribution: CentOS 5.9/6.4 x64
Posts: 44

Rep: Reputation: 19
Have you tried something like this in each vhost config:

Code:
Alias /webmail/roundcube/ /var/www/html/to_your_roundcube_dir/
 
1 members found this post helpful.
Old 05-21-2012, 11:05 PM   #3
redhat19
Member
 
Registered: Jan 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Thanks a lot @webaccounts.
Itw working now.
 
  


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
mail: mapping two domains eantoranz Linux - Networking 3 08-05-2005 09:28 AM
Postfix and virtual domains nvargas Linux - Software 6 03-12-2004 02:35 PM
Virtual Domains gene_gEnie Linux - Networking 2 09-16-2001 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:08 AM.

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