Hello
i have this htaccess:
#################################################
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
ErrorDocument 404 http://mydomain.com
order deny,allow
Options +FollowSymLinks
RewriteEngine On
RewriteCond $1 !^(index\.php|style.css|img\.png|includes|SpryAssets|Connections)
RewriteRule ^([^/]*)$ index.php?doc=$1 [L]
RewriteRule ^([^/]*)/([^/]*)$ index.php?doc=$1&item=$2 [L]
###############################################
Every thing works ok on the first rewrite (images and css)
like:
http://mydomain.com/test (htaccess)
http://mydomain.com/index.php?doc=test (real)
But if i do this i lost my css ans images:
http://mydomain.com/test/whatever (htaccess)
http://mydomain.com/index.php?doc=teste&item=whatever (real)
Any ideias, anyone can help me?
Thank´s in advance