View Single Post
  #3  
Old 6th August 2006, 19:03
Herbert Herbert is offline
Member
 
Join Date: May 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Have you tried the Apache Directives field in ISPConfig? You can put your custom directives there.
Hi Falko,
i'm use alway's the Apache Directives field in ISPConfig.
I use: AliasMatch ^/.*$ /path/disabled/disabled.html

And for hotlinking:

<FilesMatch "\.(gif|jpe?g|png|bmp|pdf|zip|rar|mp3|js)$">
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.tld [NC]
RewriteCond %{REQUEST_FILENAME} !nohotlinking.gif$
RewriteRule .*\.(gif|jpe?g|png|pdf|bmp|pdf|zip|rar|mp3|js)$ http://domain2.tld/nohotlinking.gif [R]
</FilesMatch>
</Directory>
</VirtualHost>
Reply With Quote