T
truedon
Guest
Hi,
I have recently move to use a parellels plesk setup (9.0.1) from using a cpanel installation and the rewrite rules I had are now not working. I get 403 forbidden errors when I turn my rewrites rules on using .htaccess and I find this in the log
After doing tonnes of googling and trying alot of stuff mentioned on here and other sites. I have not been able to get anywhere.
mod_rewrite is enabled and this is what I have in my .htaccess file can anyone tell me what to change to get this working?
I have recently move to use a parellels plesk setup (9.0.1) from using a cpanel installation and the rewrite rules I had are now not working. I get 403 forbidden errors when I turn my rewrites rules on using .htaccess and I find this in the log
Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:
After doing tonnes of googling and trying alot of stuff mentioned on here and other sites. I have not been able to get anywhere.
mod_rewrite is enabled and this is what I have in my .htaccess file can anyone tell me what to change to get this working?
Options +FollowSymLinks +SymLinksIfOwnerMatch
RewriteEngine On
RewriteBase /
#RewriteCond %{REQUEST_URI} !\.css$
#RewriteCond %{REQUEST_URI} !\.js$
#RewriteCond %{REQUEST_URI} !\.xml$
#RewriteCond %{REQUEST_URI} !\.rar$
#RewriteCond %{REQUEST_URI} !\.zip$
#RewriteCond %{REQUEST_URI} !\.png$
#RewriteCond %{REQUEST_URI} !\.jpg$
#RewriteCond %{REQUEST_URI} !\.gif$
#RewriteCond %{REQUEST_URI} !\.txt$
RewriteRule ^videos/([A-Za-z0-9-]+)/([0-9])$ /browse_cat.php?category=$1&page=$2 [L]
RewriteRule ^categories/$ /categories.php [L]
RewriteRule ^most-popular/$ /most-popular.php [L]
RewriteRule ^view/([A-Za-z0-9-]+)/([0-9]+)$ /view.php?gid=$2 [L]
RewriteRule ^rss/$ /rss.php [L]