.htaccess Problems (Please help) .htaccess Problems (Please help)
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

.htaccess Problems (Please help)

Started by epsilon, December 10, 2003, 09:25:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

epsilon

:? 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  :(

Joachim Müller

please post the full syntax of your .htaccess file.
Do not double post!

GauGau

P.S. this board usually deals with coppermine itself, not apache; there might be better places to look for help on this...

epsilon

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.