Forward url

Discussion in 'General' started by yurtboy1, Oct 6, 2008.

  1. yurtboy1

    yurtboy1 New Member

    Having a minor problem.
    When I setup the domain name www.example.com
    And then set it to forward to www.destination.com
    The forward does this
    www.destination.com/ <--the last trailing slash is throwing off a query. Is there a way to forward with out this.
    I was able to do it for another part of the site using .htaccess.
    But would rather use ispconfig for this one.
    ???
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You could use the Apache Directives field to write your own rewrite rules.
     
  3. yurtboy1

    yurtboy1 New Member

    In this case with ispconfig I am not sure how...

    It was a site www.example.com that is in ispconfig.
    This client wanted a quick redirect to happen
    so they pointed a url they bought to our server.
    But I did not want to set it up in ispconfig as another site and just added a new domain under that site (not client)
    So now it is there and I would not know how to alter the config to effect just that.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you do not like the way ISPConfig is doing the forward, you can add other forwarding rules in the apache directives field in ISPConfig as falko pointed out above. You dont have to setup a new site for that, just add the rewrite rules that you want to the apache directives field of the site were you added this domain as co-domain.
     
  5. yurtboy1

    yurtboy1 New Member

    Good point

    I will give it a try.
    By the way I really do like the way ispconfig does it, I tried another host recently who did not have a good interface and was amazed at how good we have it with ispconfig.
    Thanks!
     

Share This Page