I need to replicate functionality mod_aliasthat I cannot use directly because I am on a shared hosting and Alias claims do not work in .htaccess.
What I want to achieve is basically
Alias /manual /www/customer/some_other_dir/manual
I am trying mod_rewrite:
RewriteRule ^/manual/(.*) /www/customer/some_other_dir/manual/%1?%{QUERY_STRING} [L]
it will never match the challenges www.example.com/manual.
Why not? What am I doing wrong?
source
share