forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: epsilon on December 10, 2003, 09:25:09 pm
-
:? I test the .htaccess of the hotlink topic http://forum.coppermine-gallery.net/viewtopic.php?p=10541#10541 and of the stole topic http://forum.coppermine-gallery.net/index.php?topic=218&highlight=htaccess in my server, but when i put some of this htaccess in my /albums or in some gallery directorio /albums/xx/asd/ for example my thumbnails and images shows me a broken icon :cry:
¿What im doing wrong? ¿What can be the problem? Please Help :(
-
please post the full syntax of your .htaccess file.
Do not double post (http://forum.coppermine-gallery.net/viewtopic.php?p=10541#10541)!
GauGau
P.S. this board usually deals with coppermine itself, not apache; there might be better places to look for help on this...
-
This is the content of my .htaccess to prevent hotlinking:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?cremita.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?www.cremita.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|tif|png)$ http://www.cremita.com/tvcream1.jpg [R,NC]
I tryed to use another .htaccess to prevent entire site downloads:
<Files .htaccess>
deny from all
</Files>
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*NEWT [OR]
RewriteCond %{HTTP_USER_AGENT} ^Crescent [OR]
RewriteCond %{HTTP_USER_AGENT} ^CherryPicker [OR]
RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebEMailExtrac.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^NICErsPRO [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus.*Webster [OR]
RewriteCond %{HTTP_USER_AGENT} ^Microsoft.URL [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^LinkWalker [OR]
RewriteCond %{HTTP_USER_AGENT} ^sitecheck.internetseer.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ia_archiver [OR]
RewriteCond %{HTTP_USER_AGENT} ^DIIbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^psbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailCollector
RewriteRule ^.* - [F]
RewriteCond %{HTTP_REFERER} ^http://www.cremita.com$
RewriteRule !^http://[^/.]\.cremita.com.* - [F]
And i have the same error in the two cases/options... (I dont see the photos in the gallery of the directory where the .htaccess is uploaded)
the phpinfo of my server is Http://www.cremita.com/phpinfo.php (adult site with xxx content)
Sorry for the double post.