⬆️ ⬇️

Help me deal with mod_rewrite

Hello!

I ask for help in writing one simple redirection rule for mod_rewrite.



The following redirection rule is required for all links requesting any elements (graphics, city, scripts):

If the element containing the address "../" is allowed (../css/generic.css), redirect it to the address: base_directory / view / [requested_address] (css / generic.css).


')

Source: https://habr.com/ru/post/50390/



All Articles