Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1541 | minor | always | 01-05-07 08:55 | 02-12-07 10:37 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | sam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.1 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|