I am facing issues with friendly url on my site.
My requests loop if I do this:
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ sessao.php
If I do this, I do not fall into the loop, but my request does not pass through my session.php:
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ sessao.php
However something strange happens with my server, even without the .htaccess and without the active apache rewriter module, if I call mydomain.com/page it will search first page.html if it does not find it it will fetch page .php.
I believe the errors are selected. I use apache 2.22, PHP 5.4.9 on ubuntu 12.04 and 13.04 (I tested both dist and gives the same problem) in the DigitalOcean Cloud .