Hello I have an aliasdomain where the following settings have been done: Redirect Type: no flag Redirect Path: /dev/ If this ist set, there appears an error message on the Webpage And in the error.log there is the message: The directory /web/dev exists. And if I rename /web/dev to e.g. /web/deb and change Redirect Path to /deb/ everything is working. Does anybody have an Idea, why Redirecting to /dev/ is declined? I already searched in all config-Files for a "dev"-forbiddance but didn't find anything like that... Best regards renky
The directory /dev is a Linux system directory and when you use an absolute path in an apache rewrite rule, then apache tries to match it to the / root directory before it searches in the website and as you dont have the permission to access /dev on a Linux system as website user, you get a access denied. What you can try is that you use the absolute path /var/www/....../dev/ as redirect target.
Hmm.. yes, this absolute path fixed it... Is there a possibility to enter a "relative" path for the redirect? Seems not? because ./dev/ or dev/ is not allowed because of regex... Best regards and happy holidays!