skip to Main Content

Using Apache for dynamic path file server

in Apache htaccess, is there a way to use parameters as sub folders, Without redirecting to the real URL? for example: https://example.com/folder1/folder2/a.jpg?version=small to https://example.com/folder1/folder2/small/a.jpg I have tried various things for this but it didn't work. for example: RewriteCond %{QUERY_STRING} ^version=([^&]+)…

VIEW QUESTION

Apache – Mod rewrite. B flag doesn't work with spaces. AH10411: Rewritten query string contains control characters or spaces

After apache update, my server started dropping this error in URL queries, containing spaces: AH10411: Rewritten query string contains control characters or spaces URL looks as follows: www.example.com/modulename/searchfuncname/filter,searchstring,quick fox jumps/ .htaccess as follows: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f…

VIEW QUESTION
Back To Top
Search