Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-13-2012, 05:26 AM   #1
Registered: May 2008
Distribution: Ubuntu12, CentOS6
Posts: 61

Rep: Reputation: 0
Redirect "/roundcube" to "webmail." for all virtual domains?

I have the following line in my httpd.conf
Alias /roundcube /usr/share/roundcubemail
which means that to access Roundcube on any of the virtual domains, the user must go to

But I would like to give every domain a default subdomain of "webmail." instead.

Can someone tell me what I should replace the line above with please?

Kind regards,


I'm using Apache2.x, CentOS6.3
Old 08-13-2012, 06:38 AM   #2
Senior Member
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,578
Blog Entries: 11

Rep: Reputation: 208Reputation: 208Reputation: 208
Maybe this can work:
Or use mass vhosts. But I don't know if this can be configured to use a subdomain of various hosts. And not the other way like I understand it should work. various subdomains on one main domain.
Old 08-13-2012, 08:58 AM   #3
Registered: May 2008
Distribution: Ubuntu12, CentOS6
Posts: 61

Original Poster
Rep: Reputation: 0
Many thanks Zhjim, that might be just what I need. I'll study it.


apache, redirection

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
unpredictable "delete" "move to trash" or "cut" file menu option dorianrenato Linux - General 3 11-28-2011 06:41 PM
"Shared physical device" versus "Virtual network" ThomasRonshof Linux - Virtualization and Cloud 2 06-17-2011 03:27 PM
How to specify "myorigin" for virtual domains in postfix??? haariseshu Linux - Server 2 11-19-2009 11:07 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration