[users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Allasso Travesser
Hello, I have a command line app, apertium, that I am trying to run from cgi script. It is an english to spanish translator, and I have observed that the output of the command is different (and incorrect or UTF-8 encoding) when run from an http request, than when run on the command line on

Re: [users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Allasso Travesser
On Mar 8, 2014, at 10:15 AM, Eric Covener cove...@gmail.com wrote: On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser allassopra...@gmail.com wrote: But it doesn't matter which user, if run from command line, behavior is one way, (correct way), if run from http request, behavior

Re: [users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Allasso Travesser
On Mar 8, 2014, at 10:15 AM, Eric Covener cove...@gmail.com wrote: On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser allassopra...@gmail.com wrote: But it doesn't matter which user, if run from command line, behavior is one way, (correct way), if run from http request, behavior

Re: [users@httpd] command line app behaves differently when called from http request context

2014-03-08 Thread Allasso Travesser
On Mar 8, 2014, at 12:46 PM, Eric Covener cove...@gmail.com wrote: On Sat, Mar 8, 2014 at 2:27 PM, Allasso Travesser allassopra...@gmail.com wrote: On Mar 8, 2014, at 10:15 AM, Eric Covener cove...@gmail.com wrote: On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser allassopra

[users@httpd] expedite review please?

2014-01-13 Thread Allasso Travesser
Hi, Probably didn’t need this because reviews have been so fast, but... My last updated created a bug that’s kind of serious. Code changes in 2 files, 1 line in ath_keyconfig.js, and about 25 lines in ath_brov_2_mousekey.js If someone could review, be much appreciated.

Re: [users@httpd] expedite review please?

2014-01-13 Thread Allasso Travesser
yep :-) On Jan 13, 2014, at 8:40 AM, Eric Covener cove...@gmail.com wrote: If someone could review, be much appreciated. wrong list? - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional

[users@httpd] mod_evasive - DOSBlockingPeriod ignored?

2014-01-01 Thread Allasso Travesser
properly, however, from what I observe, DOSBlockingPeriod seems to have no effect. If I wait for just a few seconds (about 3), I can start loading pages again. Can anyone shed light on this please? Thank you kindly, Allasso Travesser

[users@httpd] Does mod_auth_digest not determine session expiration?

2013-12-22 Thread Allasso Travesser
Hello, I have been studying mod_auth_digest to determine how it knows when when a browser has ended its session, thinking it sends metadata to tell the browser to prompt the user again for login/password at the beginning of a new session. I was interested in the behavior which I observed for

Re: [users@httpd] Does mod_auth_digest not determine session expiration?

2013-12-22 Thread Allasso Travesser
/restart, and there is no standard which requires the browser to send such information to the server. On Dec 22, 2013, at 3:56 PM, Ben Reser b...@reser.org wrote: On 12/22/13 6:07 AM, Allasso Travesser wrote: So I believe that mod_auth_digest has no and uses no mechanism for tracking sessions

[users@httpd] Using SetHandler directive breaks default DirectoryIndex

2013-12-14 Thread Allasso Travesser
, Allasso Travesser - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] redirect within module?

2013-12-14 Thread Allasso Travesser
Thanks Eric for suggesting mod_rewrite. See findings below... On Dec 11, 2013, at 10:26 AM, Eric Covener cove...@gmail.com wrote: On Wed, Dec 11, 2013 at 12:01 PM, Allasso Travesser allassopra...@gmail.com wrote: Hello, From within a module, I would like to redirect the user to a certain

[users@httpd] unable to set cookie in

2013-12-13 Thread Allasso Travesser
Hello, I am attempting to extend auth_digest_module for 2.2. I am trying to set a cookie from a callback in the ap_hook_check_user_id hook, but the cookie does not get set. I am using this code for setting the cookie: static void setLowLevelInitCookie(request_rec *r) {

Re: [users@httpd] unable to set cookie in

2013-12-13 Thread Allasso Travesser
that works, thank you very much. On Dec 13, 2013, at 9:47 AM, Eric Covener cove...@gmail.com wrote: maybe r-err_headers_out if it will not be a 200 response? (401?) On Fri, Dec 13, 2013 at 9:56 AM, Allasso Travesser allassopra...@gmail.com wrote: Hello, I am attempting to extend

[users@httpd] redirect within module?

2013-12-11 Thread Allasso Travesser
Hello, From within a module, I would like to redirect the user to a certain file on disk if certain conditions are met. Is there a straightforward way to do this, without doing something like, apr_file_open - ap_send_fd? Thank you kindly, Allasso

[users@httpd] cookie read/write in module handler

2013-12-11 Thread Allasso Travesser
Hello, I am attempting to write a cookie, then retrieve it later. I am doing this in a handler, using simple code found from (sparse) information I have gathered from google searches: apr_table_set(r-headers_out, Set-Cookie, value); char* cookie = apr_table_get(r-headers_in, Set-Cookie);

Re: [users@httpd] cookie read/write in module handler

2013-12-11 Thread Allasso Travesser
On Dec 11, 2013, at 11:31 AM, Eric Covener cove...@gmail.com wrote: On Wed, Dec 11, 2013 at 1:27 PM, Allasso Travesser allassopra...@gmail.com wrote: Hello, I am attempting to write a cookie, then retrieve it later. I am doing this in a handler, using simple code found from (sparse

Re: [users@httpd] cookie read/write in module handler

2013-12-11 Thread Allasso Travesser
rainer.cana...@sevenval.com wrote: On Dec 11, 2013, at 19:53 , Allasso Travesser allassopra...@gmail.com wrote: I am attempting to write a cookie, then retrieve it later. I am doing this in a handler, using simple code found from (sparse) information I have gathered from google searches

Re: [users@httpd] Seg fault when assigning value in AP_INIT_TAKE1 callback

2013-12-08 Thread Allasso Travesser
for Apache 2.4 yet available, and being a nominal linux user I would rather stick with the mainstream) Thanks for the help :-) Allasso On Dec 8, 2013, at 12:38 AM, Nick Kew n...@webthing.com wrote: On 8 Dec 2013, at 04:17, Allasso Travesser wrote: Hello, Learning to create modules, I want

[users@httpd] Seg fault when assigning value in AP_INIT_TAKE1 callback

2013-12-07 Thread Allasso Travesser
Hello, Learning to create modules, I want to read configuration directives. I used the following example out of “The Apache Modules Book” (Nick Kew). It compiles fine, however, when I restart apache, I get segmentation fault: sudo service apache2 restart Segmentation fault (core dumped)

[users@httpd] add mod_auth_form module to Apache 2.2?

2013-12-05 Thread Allasso Travesser
. Also, not sure once it is installed how to make it so Apache will load it. Have done MUCH googling to find out how but have been unsuccessful. Also, please point out all caveats. Thank you kindly, Allasso Travesser

Re: [users@httpd] add mod_auth_form module to Apache 2.2?

2013-12-05 Thread Allasso Travesser
Does that mean it won’t work with 2.2? On Dec 5, 2013, at 4:51 PM, Chris Geer ch...@cxtsoftware.com wrote: I don't think mod_auth_form (and mod_session) was part of the 2.2 release. It was added in the 2.4 (2.3) timeframe. Chris On Thu, Dec 5, 2013 at 4:25 PM, Allasso Travesser

Re: [users@httpd] add mod_auth_form module to Apache 2.2?

2013-12-05 Thread Allasso Travesser
but I've never tried it. I could be wrong but that's my understanding. This is the reason we are on 2.4 and not 2.2. On Thu, Dec 5, 2013 at 4:54 PM, Allasso Travesser allassopra...@gmail.com wrote: Does that mean it won’t work with 2.2? On Dec 5, 2013, at 4:51 PM, Chris Geer ch