co-domain forwarding issue

Discussion in 'Installation/Configuration' started by jburrell, Aug 6, 2008.

  1. jburrell

    jburrell New Member

    Ok, so, situation is the following.

    I have a website set up, let us say

    I have a few other domains purchased with names related to (for examples sake and

    the website is a joomla site.

    Currently I have these domains set up as co-domains for that site, and this works fine, with one important exception.

    For example, loads the main site fine, under the appropriate domain url.

    Content can be browsed to under or and the domain "masquerade" (not sure if that is the correct terminology) works fine.

    However, my intention was for these alternate urls to forward to a specific part of the website rather than just the base site.

    so, for example, I would like to drop the person at

    However, if I add what I assume is neccessary for this to occur to the ISPConfig co-domain forward field "/help-and-support/about-us" this causes the url to redirect to rather than

    I have tried all variations I can think of (full url, etc) and havent stumbled across anything that works.

    So, I am curious if anyone might be able to tell me how to get this working. It seems a relatively simple thing, but perhaps the functionality is not designed to do what I want to do?

    Any assistance much appreciated.

    Can provide more detailed information if requested.
  2. Hans

    Hans Moderator ISPConfig Developer

    Have a look here.

    If i understand you well, it can be a solution for you.
  3. jburrell

    jburrell New Member

    Hey, thanks for the reply. I just attempted this change, and it did not seem to work at all?

    in the version of ISPConfig i am using the line in question that needs to be changed is on like 1400, however I changed this, and added the following to the apache directives for the site :

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^ [NC]
    RewriteRule ^/(.*)$ /help-and-support/about-us$1 [L]

    However it does not appear to do anything.

    Perhaps that solution is not appropriate? I do not want the alternate domain names to point to a different site, just a different place on the same site?

    or perhaps I am just adding this apache directive incorrectly.
  4. bolero

    bolero New Member

    Look in Vhosts_ispconfig.conf what the actual rewrite rules look like. This should give you a hint why it's not working as expected.

Share This Page