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)
-   -   Alias does not work! (http://www.howtoforge.com/forums/showthread.php?t=37724)

cubells 25th July 2009 08:29

Alias does not work!
 
Hi all there:

I have ispconfig 3 running over a debian lenny.

All works fine but since a couple of days alias doesn't work...

I have this line in my /etc/apache2/apache2.conf:
Alias /webmail /usr/share/squirrelmail

So, all my clients could connect to squirrelmail by writing
www.domain.com/webmail

But as I was saying, since a couple of day, this doesn't work and they only get a 404 page...

Can you say me where is the problem?? or better, where a can looking for to solve my problem??

Thanks a lot!!

till 27th July 2009 13:26

This most likely happened because you added a website were you selected the IP address and not * in ISPConfig. So this new website is now responsible for all requests that are not assigned to another vhost which includes the requests from the alias directives.

cubells 28th July 2009 00:50

Quote:

Originally Posted by till (Post 199371)
This most likely happened because you added a website were you selected the IP address and not * in ISPConfig. So this new website is now responsible for all requests that are not assigned to another vhost which includes the requests from the alias directives.

Yes, I have thought about it but I haven't been able to test it... (And I have no time)

I solved my problem by creating a symlink as you said in another thread...

Thanks a lot, till, you are the best!!

mbascombe 13th August 2009 10:13

Can someone please direct me to the thread referred to. Ran into it recently and been seaching for it for 2 days now

cubells 16th August 2009 14:08

For example here:
http://www.howtoforge.com/forums/showthread.php?t=32643


All times are GMT +2. The time now is 06:27.

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