Re: [users@httpd] Control / Modify the HTTP Status Line

2019-05-22 Thread Torsten Krah
Hi, you could use a mod_perl output filter handler to rewrite the response to your needs based on the input. Did that for some specific SaaS years ago and for some response with e.g. a special header the filter answered somerhing totally different and discarded the original response. Happy coding

[users@httpd] mod_proxy_balancer / mod_proxy_http question - stick tables support based on url

2019-05-08 Thread Torsten Krah
Hi all, I've got a question about: https://httpd.apache.org/docs/2.4/mod/mod_proxy_http.html and https://httpd.apache.org/docs/2.4/mod/mod_proxy_balancer.html Can balancing of apache httpd be configured to use stick tables to balance requests (having HAProxy in mind)? With HAProxy you could de

Re: [users@httpd] [mod_lua] Successful arbitrary authentication with denied access on the resource results in a core:error AH00571 message in the logs about a missing AuthType

2018-03-15 Thread Torsten Krah
> Lots of things could be better. To me it is clear that the overall > system expects an AuthType to be set if you will be doing authn and > authz. Thx for clarification - this was at least not clear to me. > > The error message is one indication of that But it appears only if the authorization

Re: [users@httpd] [mod_lua] Successful arbitrary authentication with denied access on the resource results in a core:error AH00571 message in the logs about a missing AuthType

2018-03-15 Thread Torsten Krah
Am Donnerstag, den 15.03.2018, 10:44 -0400 schrieb Eric Covener: > I think you should be setting it to a customized string or an existing > one if you want a fallthrough behavior. Anything else seems > undefined/dangerous. lua docs does not tell that i should set AuthType anywhere searching for i

Re: [users@httpd] Re: [mod_lua] Successful arbitrary authentication with denied access on the resource results in a core:error AH00571 message in the logs about a missing AuthType

2018-03-15 Thread Torsten Krah
Am Donnerstag, den 15.03.2018, 14:50 +0100 schrieb Daniel Gruno: > It would help if you elaborated more. A one-liner won't help us much > in > figuring out this issue. > > What are you trying, what happens, and what did you expect? > > With regards, > Daniel Hi Daniel, this was just a short bum

[users@httpd] Re: [mod_lua] Successful arbitrary authentication with denied access on the resource results in a core:error AH00571 message in the logs about a missing AuthType

2018-03-15 Thread Torsten Krah
Opinions, anyone? Should i ask that on the dev list? smime.p7s Description: S/MIME cryptographic signature

[users@httpd] How to determine if some hook functions are registered for e.g the "Check User ID" phase

2018-01-24 Thread Torsten Krah
Is there some way to determine in a c-module which registered a authn hook for authorization, if any other hook is configured in the "Check User ID" phase of request processing? Looking at: https://httpd.apache.org/docs/2.4/de/mod/mod_lua.html#writinghooks i can register a hook to negotiated the

[users@httpd] [mod_lua] Successful arbitrary authentication with denied access on the resource results in a core:error AH00571 message in the logs about a missing AuthType

2018-01-24 Thread Torsten Krah
I am using an arbitrary authentication with mod_lua which works so far. Authentication is done via mod_lua: https://httpd.apache.org/docs/2.4/de/mod/mod_lua.html#luahookcheckuserid Authorization is done via mod_authz_svn. I did that and set r.user = 'foo' to the request - just always the same f

Re: [users@httpd] Problem with authorized user and SVN access

2018-01-22 Thread Torsten Krah
Am Freitag, den 19.01.2018, 20:54 + schrieb Stefan Hauffe: > For me, especially Case 3 looks suspicious. This looks to me like a topic for the svn guys at us...@subversion.apache.org kind regards Torsten smime.p7s Description: S/MIME cryptographic signature

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-26 Thread Torsten Krah
Am Dienstag, den 26.09.2017, 09:42 +0200 schrieb Torsten Krah: > Hm ... so at least the docs should be changed? FYI: Made a pull request https://github.com/apache/httpd/pull/38 Torsten smime.p7s Description: S/MIME cryptographic signature

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-26 Thread Torsten Krah
Am Dienstag, den 26.09.2017, 09:28 +0200 schrieb Torsten Krah: > I thought and wanted to use what the docs are suggesting to use the > LuaHookAuthChecker to customize user authentication. > Implementation seems todo something else. To answer myself, changing: LuaHookAuthChecker /et

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-26 Thread Torsten Krah
Am Montag, den 25.09.2017, 10:29 -0400 schrieb Eric Covener: > Sorry, a bit swamped today, but AFAICT that is not what an > auth_checker is underlying httpd API, so I tentatively think that lua > dev doc is incorrect. > > Please have a look at include/http_request.h and server/request.c > where th

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-25 Thread Torsten Krah
Am Montag, den 25.09.2017, 09:30 -0400 schrieb Eric Covener: > auth_checker is authorization that depends on authentication. You have > no authentication configured. > > The access_checker related ones are user-agnositc and run > before/without authentication. Reading: http://httpd.apache.org/do

[users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-25 Thread Torsten Krah
Hi, i am using httpd 2.4.10 (trusty-backports) one and configured my default virtual host like this: # translation works #LuaHookTranslateName /etc/apache2/auth.lua silly_mapper LuaHookAuthChecker /etc/apache2/auth.lua authcheck_hook AllowOverride All #Req

Re: [us...@httpd] mod_proxy_ajp: (120010)APR does not understand this error code: proxy: AJP: request failed to (null) (*)

2009-03-05 Thread Torsten Krah
Am Donnerstag, 5. März 2009 16:10:54 schrieb Ivars Strazdiņš: > Could this help you? > http://www.jboss.org/community/docs/DOC-12529 thx - this helped. increasing packetSize on ajp connector + apache does work. Torsten -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://ww

[us...@httpd] mod_proxy_ajp: (120010)APR does not understand this error code: proxy: AJP: request failed to (null) (*)

2009-03-04 Thread Torsten Krah
Hi, i am facing some problems connecting tomcat ajp with apache through mod_proxy_ajp: The log shows often something like this: # ajp_marshal_into_msgb - No such method ssiers%2FM%25C3%25BCllskandal%22%3B%7D ajp_send_he

Re: [EMAIL PROTECTED] mod_rewrite redirect, how to keep url encoding utf8

2007-12-20 Thread Torsten Krah
Hm - never mind, NE - noescape does the trick, should have read more carefully, rtfm ;-) Torsten Am Donnerstag, 20. Dezember 2007 17:20:25 schrieb Torsten Krah: > Hi. > > I've got some problem with mod_rewrites redirect behaviour. > I'll got some urls which may have some

[EMAIL PROTECTED] mod_rewrite redirect, how to keep url encoding utf8

2007-12-20 Thread Torsten Krah
Hi. I've got some problem with mod_rewrites redirect behaviour. I'll got some urls which may have some query parameters which are utf8 encoded like this: /abcd/u1?myparam1=h%C3%A4llo It works fine. Now there should be some short urls which match to the long url above: RewriteRule ^/ef(.*)$ /a