Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
55 views

Protecting images from direct access by checking current PHP session with mod_rewrite

I'm working on a solution to a problem where users could potentially access images (in this case PDF files) stored in a folder off the server root. Normally, my application validates users through PHP ...
0
votes
1answer
560 views

Apache RewriteRule with a RewriteMap variable substitution for the VAL argument to environment variable

I have an Apache server that serves up binary files to an application (not a browser). The application making the request wants the HTTP Content-MD5 header in HEX format. The default and only option ...
0
votes
3answers
295 views

htaccess internal error code 500

Hi when I try to make 301 redirect I get an internal error code 500: Rewriterule ^categoy/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)? ...
0
votes
1answer
146 views

Where is RewriteMap allowed?

This seems like a very simple question. I tried putting a RewriteMap directive in an .htaccess file but the logs showed an alert: RewriteMap not allowed here Then I tried putting it in the ...
0
votes
1answer
85 views

RewriteMap problem in .htaccess [closed]

Possible Duplicate: Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask? I need to do one change in mywebsite. i have two websites. i want to redirect some of ...
0
votes
2answers
620 views

RewriteMap problem in .htaccess

I need to redirect URLs of the form subpage.php?sid=123 to named pages. subpagemap.txt exists in the root and contains just the following delimited by Unix line endings \n: 1 a 2 b 3 c The ...