Hi! I have a tiny problem with my alias domains... I created one for a website which should redirect to a script at the main page. For example... Website: http://www.mywebsite.de/ Alias: http://my-other-domain.de/ So, the alias should redirect to: http://www.mywebsite.de/nanana/my_script.php So if i create my alias with these settings: ... Redirect Type: R=301, L Redirect Path: http://www.mywebsite.de/nanana/my_script.php ... It looks almost fine, but if i call http://my-other-domain.de/ it redirects to http://www.mywebsite.de/nanana/my_script.php/ (look at the last "/" which i did not set at the redirect path) It always append a "/" Is there any way where it will not append it? Cause with my actual .htaccess the script fails with a leading slash. At the moment i have a "stupid" solution where it redirects two times. First from the alias into a directory and from there it redirects with php to the script i want. Would be nice if anyone can help me how not to redirect two times greetings Chris
The redirect function is only for directory redirects, so you can not use that for files. You can create a file redirect by using a .htaccess file in the website, so just add the aliasdomain and do not configure a redirect in ispconfig and then put a .htaccess file in the web directory of the site which dcontains a rewrite rule to forward the requests to your php file like many cms systems do it.