Changing default root web location

Discussion in 'Installation/Configuration' started by hwy-gpb, Jun 6, 2007.

  1. hwy-gpb

    hwy-gpb New Member

    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
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes.

    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.
     
  3. hwy-gpb

    hwy-gpb New Member

    Thanks Till

    Cheers
    Garry
     

Share This Page