I am struggling with my RewriteRules. I want to handle requests as follows:Requests that match example.com/15 (domain/any number), should be handled by my cdn. So I wrote this, but it does not work:RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^(\d+)*$ ../../cdn.example.com/public_html/l/i.php?id=$1My server replies with 400 Bad Request and nothing more.The following worked for me on an older xampp installation.RewriteRule ^(\d+)$ ./e/$1.php(Now I am using linux apache2.) I tried to solve the problem by using Jon Lin's script, but this gives me 400 or 404.My WebApp should be doing this:- Loading contents using my lite-cdn to the main page and manipulating the url to look like a link was clicked.  -When you reload the page (F5), the first htaccess rule should apply.
htaccess Rewrite Rules issu
apache httpd;configuration;htaccess