Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001541 [Resin] minor always 01-05-07 08:55 02-12-07 10:37
Reporter ferg View Status public  
Assigned To sam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.1 Product Version
  Product Build
Summary 0001541: rewrite-dispatch and headers
Description (rep by Rick Mann)

We're trying to replace using Apache in some cases with Resin. One of the things we need to do is prevent access to certain resources if the referring URL is not from the same domain. In Apache we do this with:

<Location />
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?keepmedia.com/.*$ [^] [NC]
    RewriteRule \.(gif|jpg|png)$ - [F]
</Location>


Is it possible to do this (without writing a servlet or filter) in resin.conf?
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001759)
ferg
02-12-07 10:37

This capability is being added to 3.1.1.
 

- Issue History
Date Modified Username Field Change
01-05-07 08:55 ferg New Issue
02-12-07 10:37 ferg Note Added: 0001759
02-12-07 10:37 ferg Assigned To  => sam
02-12-07 10:37 ferg Status new => closed
02-12-07 10:37 ferg Resolution open => fixed
02-12-07 10:37 ferg Fixed in Version  => 3.1.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker