<d362636@yahoo.com> schreef in bericht
news:1163060221.050797.251630@i42g2000cwa.googlegr oups.com...
> This is the line that tells it to redirect people coming from direct
> links to files(or hotlinking) to the front page right? If I modified
> the lines you and Hans gave me to enable this again, would it
> look like this?
>
> RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.mydomain.com - [F]
Should have commented that change ...
.... the dash is a placeholder and implies the url is passed unchanged.
The passed url is irrelevant for a blunt 403 anyway.
AFAIK no browser is to display _html_ when expecting an _image_.
Even better -keeps your error_log clean too- might be
RewriteRule .*\.(jpe?g|gif|png|bmp)$ http://www.mydomain.com/nfyen.$1
Note yet another regex tweak making the e in jpeg optional, thus matching
jpg too
(Ofcourse, this requires a valid image file named nfyen -not fot your eyes
now ;-)- for each extention listed)
HansH