Re: Configuration file templating

2008-08-18 Thread Albert Lash
Hi Dave,

Its not a module, but I've been working on a generic configuration
file templating system to be powered by a variety of data sources,
including SQL. You might enjoy checking it out:

http://www.hypermagnet.com/

Albert

On Mon, Aug 18, 2008 at 11:37 AM, Dave Ingram [EMAIL PROTECTED] wrote:
 All,

 I was wondering if anyone knew of any modules for configuration file
 templating? I know there are some specific ones for virtual hosting, and
 I know that there is mod_macro for other templating - but are there any
 others that exist?

 The reason I ask is that I'm planning on creating a templating module
 that works via SQL queries, so that a configuration database can be
 updated and Apache gracefully restarted to pick up the new
 configuration. This module (mod_sqltemplate perhaps) would be as simple
 and flexible as possible, and would of course be released to the
 community under a BSD-style licence.

 Obviously, I want to avoid re-inventing the wheel and save myself some
 work if this has already been done! :-)

 Thanks,


 Dave Ingram




-- 
My Blogs:
http://www.docunext.com/
http://www.albertlash.com/


Re: Urgent Help required!

2008-05-28 Thread Albert Lash
If this is indeed a follow-up to my question way back when about
mod_rewrite, mod_proxy, and digest authentication, I was unable to
find a real solution. What I ended up doing was excluding the digest
authentication from proxying, and instead doing it on the forward
facing server (the one doing the proxying).

This worked because the back-end pages were accessible without
authentication, but they used http_auth values to identify users for
non-apache based authorization.

On Wed, May 28, 2008 at 8:34 AM, ElizabethTown [EMAIL PROTECTED] wrote:

 Is anybody here?
 --
 View this message in context: 
 http://www.nabble.com/mod-proxy%2C-path-rewrite%2C-and-digest-authentication-tp16098622p17511628.html
 Sent from the Apache HTTP Server - Module Writers mailing list archive at 
 Nabble.com.





-- 
My Blogs:
http://www.docunext.com/
http://www.albertlash.com/


Re: Building a module for Apache 2.2

2008-03-30 Thread Albert Lash
Hi Samuel,

I've had decent luck working on Apache modules by reverse engineering
some of the core modules as well written examples.

I agree more newbie friendly development docs are needed, but at the
moment I feel that its not a huge priority. Apache's making some
incredible strides with a few of the core modules like rewrite, proxy,
dbd, and caching. With those all up to snuff, they'll offer module
developers and even more amazing platform to work with, and will be
prime time to feed them instructions.

Good luck!

Albert

On Sun, Mar 30, 2008 at 3:47 PM, Samuel Gomez [EMAIL PROTECTED] wrote:
 Thanks Nick.

  I found WHAT I was searching:
  http://httpd.apache.org/docs/2.2/dso.html
  step 4

  Seems that instructions in
  http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html are
  outdated for Apache 2.2 module developing.

  http://httpd.apache.org/docs/2.2/developer/ maybe a good resource for
  familiarized people, but not for the crowd. I miss some official Build
  your first module; kind of Hello world module with the very updated
  instructions and references. If we don't take care for noob developers,
  Microsoft will do.

  Samuel



-- 
My Blogs:
http://www.docunext.com/
http://www.albertlash.com/


mod proxy, path rewrite, and digest authentication

2008-03-17 Thread Albert Lash
Hello,

Is this the right place to ask about mod proxy and digest auth with a
uri change from proxy to back-end server?

I'm wondering how to carry the original request-uri through to the
digest stage. I spent a few hours working on this and my notes are
here:

http://www.docunext.com/blog/2008/03/16/digest-versus-proxy/

At the moment, it seems rather impossible, but the rfc suggests some
ideas like proxy-authentication and digest-uri getting repeated when a
proxy rewrites the path. I also found some comments in the
mod_auth_digest.c code that suggests the code is aware that a proxy
can change the path.

Thanks for any thoughts.

-- 
My Blogs:
http://www.docunext.com/
http://www.albertlash.com/