change rewrite to use real vhost

Discussion in 'Installation/Configuration' started by fuban, Sep 5, 2005.

  1. fuban

    fuban New Member

    hi,

    i have a domain with a bunch of subdomains, currently (using confixx) redirected to webX/subdir1 webX/subdir2 etc.

    when i add these subdomains in ispconfig and set the forward value to "subdir1" the url looks like:
    http://www.myweb.com/subdir1
    instead of
    http://subdomain.myweb.com

    is there a way to change this?
    i can setup a "site" for every subdomain i need but this isn't a nive solution.

    thanks, fabian
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you can add the co-domain to the website, leave the forward value empty and put your custom redirect rules in the Apache directives field.
     
  3. fuban

    fuban New Member

    hmm yes, but its not a nice workaround.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can extend the ISPConfig rewriting functionality if you dont like it how it is currently handled :D
     

Share This Page