Redirect a domain. ISPConfig is adding a / at the end of the path...

Discussion in 'Installation/Configuration' started by voltron81, May 21, 2010.

  1. voltron81

    voltron81 New Member

    Hi to everybody.
    I'm running a server with ISPConfig 3.0.1.6

    I'm setting up a website www.domain.com that will be redirect to www.another.com
    The redirect is working (I'm using the "no flag" option).
    The problem that I've is that the redirect is adding a / at the end of the path... and my path is not working with that /

    How to avoid this problem?


    Thanks a lot
    Michele
     
    Last edited: May 21, 2010
  2. falko

    falko Super Moderator Howtoforge Staff

    Why does it not work with the /? :confused:
     
  3. voltron81

    voltron81 New Member

    The destination address is a asp page, a kind of:
    Code:
    www.domain.com/p.asp?pref=15
    and adding / at the end is not working anymore...
    :eek:
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The redirect code is only made for directory redirects of domains. If you need some other kind of redirects, you can add them in the apache directives field of a website or in a .htaccess file.
     
  5. voltron81

    voltron81 New Member

    Hi Till,
    thanks for your reply.

    I was hoping that I was able to manage the redirect with ISPConfig (I really don't know why it's adding this / at the end)

    Anyway if there is no way to avoid this problem, I'll edit apache file manually... in this case, could I know which command do I need for?

    Thanks
    Michele
     

Share This Page