httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony VanScoy <>
Subject Re: [users@httpd] RewriteMap substitutions in RewriteRule
Date Mon, 15 Aug 2005 12:57:52 GMT
Thanks for all the help, I've got it working!

        RewriteEngine On
        RewriteLog "/var/log/httpd/rewrite_log"
        RewriteLogLevel 1
        RewriteMap fileName prg:/home/trion/getFilename.php
        RewriteCond %{QUERY_STRING} ^fileId\=(\d+)$
        RewriteRule ^/getfile\.php$ /pdf/${fileName:%1}? [R,L,T=application/pdf]

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message