Code:
php_flag display_errors on
ErrorDocument 404 http://localhost:8080/ishop_dev/404/
RewriteEngine on
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.(?:css|png|jpe?g|gif)$ [NC,OR]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9_-]+)\/$ ?p=$1 [QSA]
RewriteRule ^categorie\/([a-zA-Z0-9_-]+)\/$ ?cat=$1 [QSA]
RewriteRule ^ajax\/([a-zA-Z0-9_-]+)\/([a-zA-Z0-9_-]+)\/$ ishop_ajax.php?type=$1&id=$2 [QSA]






