HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   webmail in clients web folder (http://www.howtoforge.com/forums/showthread.php?t=36633)

uvbnserved 17th June 2009 06:14

webmail in clients web folder
 
how can i make a link to the webmail folder in a clients web directory so that on their domain they can access webmail too..like www.example.client.com/webmail
if i could ftp to my ubuntu server as root i could probably do it but i logged into my server as a local account and tried to make the link in the clients web directory but access was denied. i logged in as the client but do not have permission to make links to other directorys as that account. so whats the best fix for this?

id10t 17th June 2009 14:38

Something like this:

Code:


RewriteEngine on
RewriteCond    %{REQUEST_FILENAME}  -d
RewriteRule    ^(.+[^/])$          $1/  [R]
RewriteRule  ^/webmail https://your.ispconfig.dns.name:81/roundcubemail [R,L]

In the Apache Directives field of the site would do it

uvbnserved 18th June 2009 06:20

not sure thats what i neeed.
falko?

falko 18th June 2009 13:51

You can try the Alias directive: http://httpd.apache.org/docs/2.2/mod...ias.html#alias

ds0101 10th August 2009 08:30

Would that alias be created in: /etc/apache2/mods-available/alias.conf ?

I am running ISPConfig 3. My server at 10.10.10.4/webmail is get redirected to the /src/login.php page. But none of my websites work that way.

Example- 88888.com/webmail

Any direction would be appreciated!


All times are GMT +2. The time now is 14:17.

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