Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-07-01 Thread Ali Jawad
Well I did apply the changes mentioned and prg started returning results. However [P,L] now does not work the server throws Request Error (invalid_request) Your request could not be processed. Request could not be handled This could be caused by a misconfiguration, or possibly a

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-07-01 Thread Eric Covener
On Wed, Jul 1, 2009 at 10:04 AM, Ali Jawadalijaw...@gmail.com wrote: Well I did apply the changes mentioned and prg started returning results. However [P,L] now does not work the server throws Request Error (invalid_request) Proxy loaded? Did your rewrite Proxy to a well-formed URL?

[us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Ali Jawad
Hi All I have been on these for 4 days now. No matter what I feed my simple perl script in a simple rewrite_map setup it wont return any feedback when used through apache. When used through comand line it works just fine. Some background info: debian:/var/www# apache2 -v Server version:

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread André Warnier
Ali Jawad wrote: ... Try : #!/usr/bin/perl $| = 1; while (STDIN) { chomp $_; print($_.\n); } - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Bob Ionescu
2009/6/30 Ali Jawad alijaw...@gmail.com: #Apache2.conf RewriteLog /var/log/apache2/rewrite.log RewriteLogLevel 9 RewriteMap dash2score prg:/var/www/getIpStat.pl There's no RewriteEngine directive set to on in your Apache2.conf? In such a case the map program shouldn't be started during

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Ali Jawad
Hi Bob Thanks for the hint, isn't it enough to set it to on in .htacccess. Thanks On Tue, Jun 30, 2009 at 6:29 PM, Bob Ionescu bobsie...@googlemail.comwrote: 2009/6/30 Ali Jawad alijaw...@gmail.com: #Apache2.conf RewriteLog /var/log/apache2/rewrite.log RewriteLogLevel 9 RewriteMap

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Ali Jawad
Hi Thanks Andre for the hint, I will try it and report back. Regards On Tue, Jun 30, 2009 at 6:19 PM, André Warnier a...@ice-sa.com wrote: Ali Jawad wrote: ... Try : #!/usr/bin/perl $| = 1; while (STDIN) { chomp $_; print($_.\n); }

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Bob Ionescu
2009/6/30 Ali Jawad alijaw...@gmail.com: isn't it enough to set it to on in .htacccess. Not for the map type prg. But why don't you use the rules in your apache2.conf? Since you're rewriting to a reverse proxy situation, you could avoid the directory and files walk. Bob

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Ali Jawad
I tried in apache.conf however at that point the rewrite log was not showing anything at all as if it was not being invokedi dont have any vhosts..just a regular installation. On Tue, Jun 30, 2009 at 10:16 PM, Bob Ionescu bobsie...@googlemail.comwrote: 2009/6/30 Ali Jawad