HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Easy question ... (http://www.howtoforge.com/forums/showthread.php?t=35927)

robertlouwen 4th June 2009 00:48

Easy question ...
 
Gentlemen,

On my server I have roundcubemail but not installed in one of my web's I installed it with yum install roundcubemail.

Roundcubemail is here /etc/usr/roundcubemail/
Roundcubemail config files /etc/roundcubemail/
Roundcubemail Apache config file /etc/httpd/conf.d/roundcubemail.conf

To go to my webmail I have to go to http://something.org/webmail
but i want it to be http://webmail.something.org

How do I do this ?

PS If it is something with redirect of directives please explain in dummy language ;)

till 4th June 2009 08:12

Create a website webmail.something.org and install roundcube into this website.

robertlouwen 4th June 2009 09:50

@ Till,

No, that is not what I want. I have installed RC like I mentioned and now it is accessible with something.org/webmail, something.nu/webmail and somrthing.nl/webmail and I would like ( not 100% necessary ) webmail.something.org, webmail.something.nu and webmail.something.nl.

I am sorry to be such a pain in the ...

Croydon 4th June 2009 10:02

Quote:

Originally Posted by robertlouwen (Post 192053)
@ Till,

No, that is not what I want. I have installed RC like I mentioned and now it is accessible with something.org/webmail, something.nu/webmail and somrthing.nl/webmail and I would like ( not 100% necessary ) webmail.something.org, webmail.something.nu and webmail.something.nl.

I am sorry to be such a pain in the ...

Try this:
Create subdomain "webmail" in ispc and set redirection type to "L" and path to /webmail/

robertlouwen 4th June 2009 10:14

@ Croydon,

So for every domain ( only 3 ) I create a subdomain called "webmail" and do the redirect like you explained so clear in my other question. (?)

Croydon 4th June 2009 10:17

Quote:

Originally Posted by robertlouwen (Post 192063)
@ Croydon,

So for every domain ( only 3 ) I create a subdomain called "webmail" and do the redirect like you explained so clear in my other question. (?)

Please try the following:

Install the plugin:
http://www.howtoforge.com/forums/showthread.php?t=34917

Create subdomain "webmail" for one domain and set redirect type to "L" and path to "/webmail/".

Then tell me if it works ;)

The plugin might not be necessary for you... Maybe try without it first.

robertlouwen 4th June 2009 10:50

@ Croydon,

Like you advised first I tried without plugin, webmail.something.nu gives a dutch language error page and webmail.somethig.org gives a english language error page.

So now your plugin I have to create a .php file named "webmail_symlink_plugin.inc.php" and in there goes the code from your last post.
Upload it to my server on my server i will copy it to the right location and do the ln -s command

Right ?

Croydon 4th June 2009 10:53

Quote:

Originally Posted by robertlouwen (Post 192075)
@ Croydon,

Like you advised first I tried without plugin, webmail.something.nu gives a dutch language error page and webmail.somethig.org gives a english language error page.

So now your plugin I have to create a .php file named "webmail_symlink_plugin.inc.php" and in there goes the code from your last post.
Upload it to my server on my server i will copy it to the right location and do the ln -s command

Right ?

Yes, but

1. you have to ensure that /var/www/webmail exists (as symlink or real webmail directory)

2. you have to edit the website (not the subdomain) and save it again so the new plugin will create the needed symlink inside the webdir

robertlouwen 4th June 2009 11:00

@ Croydon,

/var/www/webmail does not exist on my server.
Can I create a empty directory ? Or maybe better a symlink ( but how ? )

Croydon 4th June 2009 11:07

Quote:

Originally Posted by robertlouwen (Post 192081)
@ Croydon,

/var/www/webmail does not exist on my server.
Can I create a empty directory ? Or maybe better a symlink ( but how ? )

As I am a debian user I am not 100% sure but this should do the trick:

ln -s /etc/usr/roundcubemail /var/www/webmail


All times are GMT +2. The time now is 18:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.