Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th November 2005, 23:20
TheDanMan TheDanMan is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Quote:
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web3/user/$1/web/$3
So when I go to http://dannyweaver.com/users/login.php 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.
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2005, 11:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th November 2005, 06:06
TheDanMan TheDanMan is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I appreciate it, still wonder what they're for though :-)
Reply With Quote
  #4  
Old 20th November 2005, 14:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by TheDanMan
I appreciate it, still wonder what they're for though :-)
It's described here: http://www.ispconfig.org/downloads/m...nde_en_src.htm

Quote:
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/~testuser/

or

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

where "testuser" and "www.domain.tld" have to be replaced appropriately.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 12th December 2007, 10:21
edmnc edmnc is offline
Junior Member
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota... killfrog HOWTO-Related Questions 3 25th September 2009 21:45
Alias for multiple users erk General 4 16th November 2005 16:52
DNS issue and user's alias problem rosa hsiao General 3 2nd November 2005 10:03
Users can not log in to webmail or ftp sambo Server Operation 19 21st October 2005 02:33
Alias outside of Web1? Bedevere Installation/Configuration 3 8th September 2005 02:15


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


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