Want to rewrite ISPConfig 2 style userweb URLs to ISPConfig 3

Discussion in 'Installation/Configuration' started by DantePasquale, Nov 11, 2009.

  1. DantePasquale

    DantePasquale Member HowtoForge Supporter

    I want to redirect links to my website(s) that were created in ispconfig 2 format to ispconfig 3 format.

    Has anyone attempted this or have a working recipe?

    For example: link: http://www.cocoanet.us/~dantepasquale/blog in ispconifg 2 there is an Alias Directive that maps this to /var/www/web8/users/dantepasquale/blog


    # AliasMatch ^/~([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
    # AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$
    but now I want them redirected to /var/www/cocoanet.us/dantepasquale/blog.

    I don't think I can use the AliasMatch because I want to redirect, right? If you point me in the right direction I think I can figure this out on my own

    Thanks a bunch,
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The same alias should work in ispconfig 3 too. just adjust the path to match the new directory

Share This Page