Now, have the next .htaccess (in the root folder):
Options -Indexes
Options -Multiviews
RewriteEngine on
# Ocultar extension php (hidden .php)
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
# Url amigable (frienly url)
RewriteBase /
Rewriterule ^owner/servicios/(.+)/$ owner/servicios.php?servicio=$1
I expect when the user access try to "domain.com.ar/owner/index/" show the page "index.php". This not work, but, i access "domain.com.ar/owner/index" works.
On the other hand, when the user try to access "domain.com.ar/owner/servicios/servicio_uno/", $_GET value of "servicio" should be "servicio_uno", but is: "servicio_uno/.php/servicio_uno ".
And "domain.com.ar/owner/servicios/servicio_uno" shows 500 internal error.
Any ideas ?.