Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
510 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
2answers
265 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
113 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
74 views

RewriteMap problem in .htaccess

I need to do one change in mywebsite. i have two websites. i want to redirect some of the page from website1.com to website2.com based on one mapping file. that mapping file will be on txt file in ...
0
votes
2answers
561 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 ...
0
votes
0answers
574 views

Redirect on RewriteMap match with Apache 2.2 and mod_rewrite

I'm trying to set up a bunch of redirects based on this formula, but so far I haven't been able to make it work. I've been messing with it for hours, but my current setup looks like this: ...