![]() |
My own version of dysfunctional .htaccess rewrite rules
Here's mine
Code:
RewriteEngine On I am not insisting on the fact that, a few years back, when I first used a .htaccess file, I managed to prevent hotlinks this way. It probably lured me into thinking that I had understood the stuff. I clearly do not and probably will never. Maybe point me at the error in the above code and I just try to get along... TY. |
|
Thank you bathry.
Of course, I cannot say, why this documentation would be better than all the others that I have scrutinized in the meantime, but I will copy&paste these code-examples, too, just to see what happens. I will report back in any case, but I am coughing too much tonight and have different interests for the next days. |
Nope.
The differences between the proposed rules from apache.org and my own are negligible but I tried them anyway. With the same result, that hotlinking images from my site is still possible and the sought redirection to an alternate image is not done. I suppose that the Web-Server is quite simply lacking a capability but do not yet have any answers from the administrators. |
Quote:
Perhaps apache does not read .htaccess files. Check if you have a AllowOverride ... directive in apache config file(s) You need at least a Code:
AllowOverride FileInfo Regards |
Quote:
|
All times are GMT -5. The time now is 01:13 PM. |