• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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