[NOTICE] Mandatory relocation of Apache git repositories on git-wip-us.apache.org

2018-12-07 Thread Daniel Gruno
[IF YOUR PROJECT DOES NOT HAVE GIT REPOSITORIES ON GIT-WIP-US PLEASE DISREGARD THIS EMAIL; IT WAS MASS-MAILED TO ALL APACHE PROJECTS] Hello Apache projects, I am writing to you because you may have git repositories on the git-wip-us server, which is slated to be decommissioned in the coming mon

Re: question about mod_lua's status

2015-09-20 Thread Daniel Gruno
On 09/20/2015 10:00 PM, Guilherme Macedo - BlueSecure wrote: > Hi. > > Does anyone know why mod_lua is still in experimental status and if > there is any plan for it to go to extension or base? > > Thanks in advance. > > Guilherme Macedo | bluesecure.com.br The experimental status refers to the

Re: mod_lua unable to delete cookie

2015-09-03 Thread Daniel Gruno
Hi Mark, you have to give it a number different from 0, because of how the internals work. This is an "optional integer" which falls back to 0 if nothing is given, and if 0, then it's not written. Set it to the past using os.time instead: r:setcookie{ key = 'foobar', value = 'blah', expipres

Re: Adding new module to modules.apache.org

2014-01-16 Thread Daniel Gruno
On 01/15/2014 10:55 PM, Atle Solbakken wrote: > Hi > > I've recently attempted to add the module for the P* Web Programming > Language to modules.apache.org. Under "My modules" it was listed with > "Pending approval" for a while, but it has now been deleted. I have not > received any notifications

Re: https://modules.apache.org/ down

2013-05-21 Thread Daniel Gruno
On 05/21/2013 10:45 PM, Helmut Tessarek wrote: > Hello, > > The modules web site has been down for about a week now. > > I seriously doubt that the following message is accurate: > > Maintenance in progress > > This system is currently down for maintenance. More details may be available > from

Re: how to send 401 code and custom entity from a hook

2013-03-06 Thread Daniel Gruno
On 03/06/2013 09:30 PM, Nce Rt wrote: > I could send 401 status code from a custom apache module. But how to send a > custom entity message in the http body? It seems to override any entity with > a standard messaging to the client. > set r->status to 401, print your message and return OK With

Re: Removing bogus release from mod_ldap_userdir module?

2013-02-03 Thread Daniel Gruno
On 02/03/2013 10:37 AM, Hoang-Vu Dang wrote: > I second that... I also duplicate my release on mod_dumpost.. but can't > find a way to delete it. > > Vu > > On 02/03/2013 10:33 AM, Helmut Tessarek wrote: >> On 03.02.13 4:20 , Daniel Gruno wrote: >>> On 02/

Re: Removing bogus release from mod_ldap_userdir module?

2013-02-03 Thread Daniel Gruno
On 02/03/2013 01:33 AM, John Morrissey wrote: > I accidentally created a release for mod_ldap_userdir with no version > number; would you remove it, please? It'd be nice if the new site would > prevent that. > > john > Done, and yes, that will be on my todo-list for today :) With regards, Daniel

modules.apache.org is changing!

2013-01-31 Thread Daniel Gruno
Dear modules-dev list, If you have been following the discussion on dev@, you will know that the Apache Modules Registry, https://modules.apache.org is now changing into a brand new site. We are starting afresh with a new database (the old one will remain as an archive) and new user accounts, to b

Re: Accessing environment variables set by other modules

2012-10-01 Thread Daniel Gruno
On 10/01/2012 12:03 PM, Christoph Gröver wrote: > > Hello list, > > I'm trying to access the environment variable "REMOTE_USER" which is > set by the mod_auth_kerb module (at least I think so). > > I tried it with two different code snippets, both are not working. > > 1. const char *remote = ap

Re: How to access string in a module that is set in configuration directive?

2012-06-30 Thread Daniel Gruno
On 06/30/2012 10:33 PM, oh...@cox.net wrote: > Hi,. > Can anyone tell me how, in my module code, I can access that "MyVar" string? > > Thanks, > Jim > You can either assign your configuration to a statically declared struct, or check out http://httpd.apache.org/docs/trunk/developer/modguide

Re: Best (safest) way to edit char string (from envvars)?

2012-06-20 Thread Daniel Gruno
On 06/20/2012 06:17 PM, oh...@cox.net wrote: > > Hi Ben and Daniel, > > I must be doing wrong. After I added code to strip the begin and end lines, > I get a segfault when I test. > > I notice that the apr_cpystrn() doesn't include a pool parameter, so I guess > it's just moving the char stri

Re: Best (safest) way to edit char string (from envvars)?

2012-06-20 Thread Daniel Gruno
On 06/20/2012 05:21 PM, oh...@cox.net wrote: > > Ben Noordhuis wrote: >> On Wed, Jun 20, 2012 at 4:35 PM, wrote: >>> Hi, >>> >>> I am working on a module, and I get one of the SSL envvars, >>> SSL_CLIENT_CERT, using apr_table_get() into a const char *. >>> >>> The client cert char string

Re: Change Request-Header before mod_rewrite

2012-06-04 Thread Daniel Gruno
On 06/04/2012 10:53 PM, Marc apocalypse17 wrote: > Hi all, > > I just developed my first apache module following the tutorial on the apache > website. The module is responsible for adding one header value to the active > request which must be checked in a mod_rewrite ReWriteCondition. > The probl

Re: about setting r->headers_out

2012-05-11 Thread Daniel Gruno
On 05/10/2012 06:39 PM, Nick Kew wrote: "This function must be called to set r->content_type in order for the AddOutputFilterByType directive to work correctly.", so it may be related to your problem. Whoops! That's no longer true since AddOutputFilterByType moved to mod_filter. Where do the

Re: about setting r->headers_out

2012-05-10 Thread Daniel Gruno
On 10-05-2012 12:25, Julio Carlos Barrera Juez wrote: > Hi! > > I have the same problem than you, Rui Hu. I have an output filter that > changes the body of the response, but then "content-type" header is > changed to "text/plain", and I want to maintain the original > "text/html". > > I have tri

Fwd: Document on developing modules for 2.4 and onwards

2012-04-11 Thread Daniel Gruno
As per Igor's advice, I'm forwarding this message to the dev@ and modules-dev@ lists as well: Hello all httpd document lovers, As per our nifty little STATUS document, it came to my attention that we were missing an introduct