HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   users dir Alias Conflicts (

TheDanMan 18th November 2005 00:20

users dir Alias Conflicts
In the /etc/apache2/vhosts/Vhosts_ispconfig.conf there are 2 lines per domain by default that conflict with common dircectories used by CMS Software.


AliasMatch ^/~([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3
So when I go to I get a 404. I use Genu for my personal site. While its easy enough for me to comment the second line listed above, most users cannot do this. I don't think Genu is the only CMS that uses the users directory in its structure and it would be better if ISPConfig used a less common name. I'm sure "ispusers" would work fine for 99.9% of people.

Also, I've been unable to figure out why these aliased dirs are there in the first place.

Lastly, you guys do a great job on ISPConfig, and I just sent off my email to join the Development Crew to help with Translation as I speak English, French, German and Esperanto. I'd love to do an Esperanto translation :-) Unfotunatly none of my secondary languages are strong, but the English translation of ISPConfig seems to be weak and that is where I wish the lend a hand the most as it is my native language.

falko 18th November 2005 12:47

If you don't need those two Alias lines, you can disable them by changing the make_vhosts() function in /root/ispconfig/scripts/lib/config.lib.php.

TheDanMan 20th November 2005 07:06

I appreciate it, still wonder what they're for though :-)

falko 20th November 2005 15:57


Originally Posted by TheDanMan
I appreciate it, still wonder what they're for though :-)

It's described here:


2.2.9 Home Directory of a User

Every user of a site has his own home directory in the folder "user". For example, the user "testuser" has the home directory "user/testuser". If FTP access is allowed for the site a user (if he is not the site administrator, see chapter III-2.2.1) will find himself in his home directory after the FTP login (thus "user/testuser").

In every home directory you can find the folder "web" whose contents can be reached through the internet via



http://www.domain.tld/users/testuser/ ,

where "testuser" and "www.domain.tld" have to be replaced appropriately.

edmnc 12th December 2007 11:21

I had the same problem, and the solution didn't work.

What I found out is that at least in 2.2.6 and probably all later versions you (also?) need to edit /root/ispconfig/isp/conf/vhost.conf.master and comment out the AliasMatch lines

And might I add that it would be great if this would be a configurable option through ispconfig web interface

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

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