Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th June 2007, 08:15
hwy-gpb hwy-gpb is offline
Junior Member
 
Join Date: Jun 2007
Location: Mudgee NSW Australia
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default Changing default root web location

First off, well done! to the creators of ISPconfig. Only been using it for a few days, but the more I get to know it, the more I like it

I have a 100 + user websites on one domain who have long established sites on our old server with domain.com/~username/ as there home page.
the default with ISPconfig would be: domain.com/users/webID_username
So for this domain I'm removing the prefix before adding a user as I prefer the look of domain.com/username for these clients.
To further achieve we added a symbolic link in web folder of this domain domain.com/users/username to = domain.com/username
In apache config for domain.com we have: RedirectMatch \/\~(.*)\/(.*) http://domain.com.au/$1/$2
so that anyone looking for anything ~username finds the new location.

What I want to ask is:
Should this approach work OK with ISPconfig?
Is there a better way to achieve what we are after?

Thanks
Garry
Reply With Quote
Sponsored Links
  #2  
Old 6th June 2007, 08:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,418
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Quote:
Should this approach work OK with ISPconfig?
Yes.

Quote:
Is there a better way to achieve what we are after?
No, this looks fine. But maybe you can use a rewrite rule instead of the symlink, so you do not have to create e symlink for every user.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
hwy-gpb (6th June 2007)
  #3  
Old 6th June 2007, 09:04
hwy-gpb hwy-gpb is offline
Junior Member
 
Join Date: Jun 2007
Location: Mudgee NSW Australia
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Thanks Till

Cheers
Garry
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
monit howto Jamesk5 HOWTO-Related Questions 11 5th August 2008 15:10
Server Side Includes don't work PermaNoob General 7 1st May 2007 20:38
index.html make eror planet_fox Installation/Configuration 46 28th March 2007 09:10
Apache - Virtual hosts - ISPConfig Hans Server Operation 8 23rd April 2006 16:29
cannot connect to ispconfig guidovanh Installation/Configuration 22 3rd March 2006 19:52


All times are GMT +2. The time now is 16:45.


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