"If we go to index2.php, we get "index2.php" which indicates the
mod_rewrite is not working on php request."
Not only it IS working, it is working as intended.
If you don't add the R flag you are doing an "internal" redirection.
http://httpd.apache.org/docs/current/rewrite/flags.html#flag_r
By
Do you use php via mod_proxy_fcgi?
Could be possible that the .htaccess file is never honoured since the request
was proxied before.
Kind regards,
Tobias Adolph
Von: Rose, John B
Gesendet: Mittwoch, 22. Juli 2015 17:05
An: users@httpd.apache.org
Betreff: [users@httpd] Rewrite, .php files a