On Wed, Jul 1, 2009 at 10:04 AM, Ali Jawad 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?
RewriteLog might hekp
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 malformed
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 wrote:
> 2009/6/30 Ali Jawad :
> > isn't it enough to set it to on in .
2009/6/30 Ali Jawad :
> 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 and walk.
Bob
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 wrote:
> Ali Jawad wrote:
> ...
> Try :
>
>>
>> #!/usr/bin/perl
>> $| = 1;
>> while () {
>>
> chomp $_;
>
>> print($_."\n");
>> }
>>
>>
> ---
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 wrote:
> 2009/6/30 Ali Jawad :
> > #Apache2.conf
> > RewriteLog "/var/log/apache2/rewrite.log"
> > RewriteLogLevel 9
> > RewriteMap dash2score prg:/var/www/getIpStat.
2009/6/30 Ali Jawad :
> #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 server
startup
Ali Jawad wrote:
...
Try :
#!/usr/bin/perl
$| = 1;
while () {
chomp $_;
print($_."\n");
}
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html
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: Apache/2.