Forum Moderators: phranque
I use this in my htaccess to block the remote loading of my site but I manage to download my site with HTTrack.
RedirectPermanent /milannu/dossier http://www.example.com/milannu/inc/im_cat/
ErrorDocument 404 http://www.example.com/err404.php
#these 2 lines work perfectly
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^HTTrack$ [NC]
RewriteRule ^.*$ http://www.example.com/trouve.html [R,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.example.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://example.com/.*$ [NC]
ReWriteRule .*\.(gif¦png¦jpeg)$ - [F]
Where is my error?
In advance large a mercy.
[edited by: jdMorgan at 2:58 pm (utc) on Oct. 23, 2004]
[edit reason] Removed specific URLs per TOS [/edit]