• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

mod_rewrite issues migrating from cpanel 403 errors

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

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]
 
Thanks for replying :)

I'm not sure, I'm a bit of a newb when it comes to this. I don't have root access is there anyway to check it or do I need my admin for this?
 
Back
Top