Re: [users@httpd] RewriteMap substitutions in RewriteRule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/12/05, Tony VanScoy <tvanscoy@xxxxxxxxx> wrote:
> It kind of works. I made the change to %1 and when I made a request ...
> 
> /test.php?pdfId=12
> 
> .. then it gave me the pdf. SWEET. But, still dies after the first
> mapping. If I call that same exact URL  again, i get redirected to ...
> 
> /pdf/
> 
> .. with no filename. Odd. I added these directives....
> 
> RewriteLog "/var/log/httpd/rewrite_log"
> RewriteLock "/var/lock/httpd/rewrite.lock"
> RewriteLogLevel 2

The RewriteLogLevel is not high enough.  Use 9.  You probably want to
put these in the <VirtualHost>, but I can't remember for sure.

But, as I mentioned, the problem is most likely bad logic in your
program.  You can test it by running it on the command line and
feeding it one input at a time, followed by a carriage return.  It
should respond with one output at a time.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux