0
I need to use friendly urls and am trying to make an adjustment with . htacess
I have a url:
http://www.site.com.br/default.asp?id=meuid&acao=minhaacao&hint=minhahint
I need her to stay that way:
http://www.site.com.br/meuid?acao=minhaacao&hint=minhahint
I tried to do it the way down unsuccessfully:
RewriteEngine on
RewriteRule ^([^/]+)/([^/\.]+)/?$ default.asp?site=$1&pid=$2 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
And so
RewriteRule ^/(.*)$ /default.asp?id=$1&acao=$3&hint=$4 [QSA]
And what mistake is happening?
– misakie
Displays default error :HTTP error 403.14 - Forbidden The web server is configured not to list the contents of this directory.
– Fagnerdireito