2
I am facing problems with friendly url on my website.
My requests loop if I do this:
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ sessao.php
If I do this, I don’t fall in the loop, but my request doesn’t go through my.php session:
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ sessao.php
However something strange happens to my server, even without the . htaccess and without the rewriter module of active apache, if I call meudominio.com.br/page it will search first page.html if it does not find 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 Cloud Digitalocean.
Related to this topic? http://answall.com/questions/7987/redirectionstrangel/8000#8000
– Daniel Omine