<Directory /mydir/Frontend>
RewriteEngine on
RewriteRule ^backend - [L,NC]
ExpiresActive On
ExpiresDefault "now"
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Alias /backend /mydir/Backend
<Directory /mydir/Backend>
ExpiresActive On
ExpiresDefault "now"
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
mysite/backend/path - works correctly, but mysite/backend/path/ is being ignored and rewritten
I want any request which starts with /backend to be redirected under Alias
برچسب:
نویسنده: استخدام کار