• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

rewrite mod problems ...

I

ibor

Guest
hi,

i hope you have answers to my following problem because i dont get it to work ... :

i just looked around how to turn on rewrite_mod form apache in plesk 7.5 reloaded :

now i found the easy solution ... :

just edit /etc/sysconfig/apache2

and add "rewrite" to the mod line ...

after that restart apache --- and it will work ... but not for me ... i have the problem now that the following rewrite commands in .htaccess file will not work :


------------------------------------
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com(/.*)?$ [NC]
RewriteRule \.(gif|jpg|GIF|JPG)$ http://domain.com/sorry.gif [R,L]
---------------------------------------

it seems they are just ignored --- but rewrite is activated now - because the internal server error is gone away and the pic will be displayed now - in localhost it will work but not on the plesk server - PLEASE HELP !


Thank you very much !


greetz ibor
 
hi i found another solution to fix my problem without rewrite but there is a 500 server error if i try to use it within a htaccess file - please tell me why it works on xampp but not on plesk 7.5.4 reloaded :


.htaccess :
____________________________
SetEnvIfNoCase Referer "^http://www.domain.com" local_ref=1
SetEnvIfNoCase Referer "^http://domain.com" local_ref=1
Order Allow,Deny
Allow from env=local_ref
_____________________________

please help its important for me !

maybe its the standard settings of plesk and you can tell me how to change them - thank you SWSoft team !

PS: usualy i dont speak english - so excuse me for the grammatical issues ..


ibor
 
Back
Top