Hallo,

I've a problem with the 'ingnore server sent mime-type'.

To protect images from hotlinking I've restricted the
access ... so when an image is requested from this
directory an error 403 occurs and .htaccess
uses "ErrorDocument 403 /cgi-bin/errorlink.pl" to
redirect this to a little script (Dont visit ... it's porn !)

 if ($ENV{"HTTP_HOST"} eq 'www.cumrank.de')
 {
  print "Content-type: image/jpeg\n\n";
  print &my::RF("..$ENV{REQUEST_URI}");
 }
 else
 {
  print "Content-type: image/jpeg\n\n";
  print &my::RF("../cum/cumtome.jpg");
 }

So the content type is image/jpeg in every case ...

When I have V (3.3.122) set to ignore the mime-type sent from server
the pictures are displayed ... but when I set to not ignore
V displays a 'text'-version of the image and the 'info' says that
the mime-type is text/html ...

Is it a bug ? Or is my 'trick' lousy scripting/html ?

-- 
Robin  \W/  http://www.amiganiac.de/ *PA-Stats & PA-Jokes*
H      � �   
   -ooO-U-Ooo-  mailto:[EMAIL PROTECTED]

_____________________________________________________________________
Voyager Mailing List - http://v3.vapor.com/
Voyager FAQ....: http://faq.vapor.com/voyager/
Listserver Help: mailto:[EMAIL PROTECTED]?Subject=HELP
Unsubscribe....: mailto:[EMAIL PROTECTED]?Subject=UNSUBSCRIBE

Reply via email to