Red Hat 7
Apache 2.4
PHP-FPM

We are having some trouble getting Rewrite to work with Apache 2.4/PHP-FPM

In other words, it isn't successfully working.


Our test example:

The .htaccess file:


<IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteRule ^index2.html$ index.html

    RewriteRule ^index2.php$ index.php

</IfModule>


Here is the content of index.php(In other words that is the text in the file, 
in addition to being the name):

"index.php"


Here is the content of index2.php:

"index2.php"


If we go to index2.php, we get "index2.php" which indicates the mod_rewrite is 
not working on php request.


Any suggestions on addressing the above problem?

Thanks

Reply via email to