![]() |
add new subdomain with redirect type L fails when redirect path is /home/
Hi there.
Run into a problem I have replicated on two separate installs. I add a new subdomain for a website, and set Code:
host: homeCode:
ForbiddenIs this picking up on the 'home' keyword as it is potentially a system path? Am I missing something obvious? |
Quote:
What you can try is to use either "home/" without a / at the beginning or the full path like /var/www/clients/client5/web3/web/home/ |
Hi Till.
Thanks for your quick reply. I had already tried that, and it throws an error: ERRORAdding the full URL for the "Redirect Path" does seem to work, but then the L flag seems not to be respected, and the browser is forwarded to the http://www.domain.tld/home/ rather than staying on http://home.domain.tld/ This also seems to happen for any subdomain named with a root system folder name (etc, var, home). Further, creating a folder in the root with the name 'subdomain' triggers the same behaviour for any subdomains called 'subdomain'. This could cause issues, if many clients had a subdomain 'mail' and one day we created a root folder called 'mail' - it could get very messy. Is this a bug? Should I report it on the bugtracker? Many thanks. Finn. |
Quote:
|
Just as a note, if you want to have a subdomain that has its own directory, you normally create a website in ispconfig for this subdomain and not a redirect.
|
Quote:
|
A subdomain is a vhost alias, it does not has a separate directory.
As I mentioned above, if you want to have a separate directory, create a new website. |
aaaaaaah. I see. I didn't get it even after reading a few times.
thank you very much for your patience and details. |
| All times are GMT +2. The time now is 07:27. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.