LinuxQuestions.org
Review your favorite Linux distribution.
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 08-13-2012, 05:26 AM   #1
snowweb
Member
 
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
Code:
Alias /roundcube /usr/share/roundcubemail
which means that to access Roundcube on any of the virtual domains, the user must go to http://www.example.com/roundcube

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,

Peter

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

Rep: Reputation: 182Reputation: 182
Maybe this can work: http://httpd.apache.org/docs/2.2/mod...ost_alias.html
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
snowweb
Member
 
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.
 
  


Reply

Tags
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 11:18 PM.

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