mod_perl2 memory problem

2013-01-19 Thread Idel Fuschini
Hi all, I have compiled apache webserver with this configuration: ./configure --prefix=/foo/apache-2.2.23-worker-1st --enable-modules=all --enable-mods-shared=all --disable-ipv6 --enable-ssl --with-ssl=/foo/openssl-1.0.1c --enable-proxy --enable-proxy-connect --enable-proxy-http --with-mpm=worker

mod_perl and mod_rewrite can work together ?

2012-01-26 Thread Idel Fuschini
I've got this issue, in httpd.conf: PerlTransHandler +Apache2::MyRedirect RewriteRule ^/$ /home/index.html [R=301] my mod_perl2 module in some condition need to redirect the browser to another site. But my web server ignored my module. This is the code: use Apache2::RequestRec (); use Ap

Re: Problem withe memcached inside the handler

2012-01-19 Thread Idel Fuschini
Another information, in other platform working well Idel On 19 January 2012 12:50, Idel Fuschini wrote: > Hi I've got this simple module: > > #file:Apache2/AMFTest.pm; > # > > # > # Created by Idel Fuschini > #

Problem withe memcached inside the handler

2012-01-19 Thread Idel Fuschini
Hi I've got this simple module: #file:Apache2/AMFTest.pm; # # # Created by Idel Fuschini # Date: 01/08/10 # Site: http://www.apachemobilefilter.org # Mail: idel.fusch...@gmail.com package Apache2::AMFTest; use strict; use warnings; use Ap

Cache::Memcached problem

2012-01-17 Thread Idel Fuschini
I've got this problem on RedHat in production server: * No map found matching for GLOB(0x1ed02710) at /usr/lib/perl5/site_perl/5.8.8/Cache/Memcached.pm line 717.* anybody know what could be ? I don't find any documentation about that. Thanks Idel = E-Mail: idel.fusch...@gmail

Re: Deflate problem

2011-05-19 Thread Idel Fuschini
prohibited. If you received this e-mail in error, please inform the sender immediately and delete all the material. (Rif. D.Lgs. 196/2003). Thank you. On 19 May 2011 19:52, Fred Moyer wrote: > Have you tried mod_deflate? > > On Sat, May 7, 2011 at 3:30 AM, Idel Fuschini > wrote: >

Deflate problem

2011-05-07 Thread Idel Fuschini
Hi people, I've got this problem with DEFLATE. This is my code example : use strict; use warnings; use Apache2::Filter (); use Apache2::RequestRec (); use APR::Table (); use Cache::FileBackend; use Apache2::Const -compile => qw(OK); use constant BUFF_LEN => 1024; use vars qw($VER

Share Memory Apache2 and ModPerl2

2010-10-02 Thread Idel Fuschini
Hi, For my project "Apache Mobile FIlter", I'm looking a method to share memory array data between Apache2 processes. It's possible ? Thank you Idel = E-Mail: idel.fusch...@gmail.comite: http://www.idelfuschini.it OpenSource Project: Apache Mobile Filter - http://www.idelfusch

mod_perl installation problem

2010-03-24 Thread Idel Fuschini
Hi, I'm trying to install mod_perl on sun solaris 5.10 with apache 2.2.9. after perl Makefile.PL I have this problem Configuring Apache/2.2.9 mod_perl/2.0.4 Perl/v5.10.1 [ error] Using Perl 5.010001 w/o ithreads and 'worker' mpm httpd. [ error] Failed requirements: [ error] - Perl built with

2 raw in acces_log

2010-01-04 Thread Idel Fuschini
Hi, I did this simple code: * package test::test; * * use Apache2::RequestRec (); use Apache2::RequestUtil (); use Apache2::SubRequest (); use Apache2::Filter (); use APR::Table (); use Apache2::Const -compile => qw(OK REDIRECT DECLINED); use constant BUFF_LEN => 1024; sub handler

Alias

2009-11-11 Thread Idel Fuschini
Hi, i've got in httpd.conf this directive Alias /dummy/ "/var/local/apache2/example" How can I take the real path value ? Idel

Re: Apache Mobile Filter

2009-07-08 Thread Idel Fuschini
.html Demo link: http://apachemobilefilter.nogoogle.it/php_test.php"; Sorry again for the mistake. 2009/7/9 Fred Moyer > On Wed, Jul 8, 2009 at 2:29 PM, Idel Fuschini > wrote: > > I have published the last version of "Apache Mobile Filter". > > > > For mo

Apache Mobile Filter

2009-07-08 Thread Idel Fuschini
I have published the last version of "Apache Mobile Filter". The Apache Mobile Filter allows you to access WURFL from any programming language, not just Java and php that is traditionally used for dynamic mobile web sites. The module detects the mobile device and passes the WURFL capabilities on

Clear code

2009-05-28 Thread Idel Fuschini
Hi, I want to find the variable that I defined but not used in another part of my code. How can I do it. -- Idel = E-Mail: idel.fusch...@gmail.com Web Site: http://www.idelfuschini.it OpenSource Project: Apache Mobile Filter - http://www.idelfuschini.it/apache-mobile-filter-v2

Re: Pass value from filter to anothe filter

2009-05-13 Thread Idel Fuschini
And how can I read it the value ? 2009/5/13 William T > On Wed, May 13, 2009 at 3:09 AM, Idel Fuschini > wrote: > > PerlModule :: > > PerlTransHandler +::module1 > > > > SetHandler modperl > > PerlInputFilterHandler ::module2 >

Pass value from filter to anothe filter

2009-05-13 Thread Idel Fuschini
Hi, I have this configuration on server: PerlModule :: PerlTransHandler +::module1 SetHandler modperl PerlInputFilterHandler ::module2 and I want to pass variable from module1 to module2 is it possible ? -- Idel = E-Mail: idel.fusch...@gmail.com Web

USER_AGENT

2009-05-11 Thread Idel Fuschini
Hi, I want to read the user_agent i'm using this code: my $f = shift; my $user_agent=$f->headers_in->{'User-Agent'}; but apache logs this error: Can't locate object method "headers_in" via package "Apache2::Filter" why ? -- Idel = E-Mail: idel.fusch...@gmail.

Re: Pass variable

2009-05-05 Thread Idel Fuschini
thanks torsten how can I read this variable from php and jsp application ? I did in perl code: $r->subprocess_env("XXX" => $value); In cgi I see something like: REDIRECT_XXX value Thanks Idel 2009/5/5 Torsten Foertsch > On Tue 05 May 2009, Idel Fuschini wrote: &g

Pass variable

2009-05-05 Thread Idel Fuschini
Hi, I am the owner of "Apache Mobile Filter" project ( https://sourceforge.net/projects/mobilefilter/). After my filter detect the UserAgent of a device I want to pass the capability to other applications (cgi, php or tomcat with mod_jk) in the same web server. How can I do that ? Please help me.

set new environment variable

2009-03-13 Thread Idel Fuschini
Hi, I want to set new environment variable with Apache. How can I do it ? For example I want to add the variable DEVICE=hello and I want to read with PHP program.. Idel

Apache Mobile Filter

2009-02-27 Thread Idel Fuschini
I have done a module for Apache Web Server that recognizes the device and redirect to the correct contents (WML, XHTML etc.) you have defined. Also it's possible to resize dynamically the images depends of the device characteristics. Do you think this module could be useful? The module is Open Sour