viewing paste Unknown #5394 | Plain text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12
If yes, add a file called .htaccess with the following contents.
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(jpeg|jpg|gif|png)$ /public/404.php [NC,L]
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Viewed 312 times, submitted by saiku.