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
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