Re: [EMAIL PROTECTED] mod_auth_kerb and mod_authnz_ldap

2008-12-05 Thread Jesper Krogh
On Fri, Dec 5, 2008 at 11:48 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > On 12/5/08, Jesper Krogh <[EMAIL PROTECTED]> wrote: > >> Require ldap-group CN=TestGroup,OU=Groups,OU=Company >> require valid-user > > Require directives are OR'ed not AND'ed, despite the way

Re: [EMAIL PROTECTED] Where should I put my java servlet .class file ?

2008-12-05 Thread Sander Temme
On Dec 5, 2008, at 1:15 PM, Albert Joseph wrote: Very good. I had just installed Tomcat. Now where can I put my servlet .class file ? I once knew this but it has slipped my mind. The http://tomcat.apache.org/ site has some introductory materials, for instance http://tomcat.apache.org/

[EMAIL PROTECTED] RewriteMap and RewriteRule

2008-12-05 Thread Clodoaldo Pinto Neto
I'm using this config in Apache 2.2.3/Centos 5: RewriteMap redirect txt:/var/www/html/example/redirect.txt RewriteRule ^/(a|b|c|d|e)$ http://example.com/${redirect:$1} [NC,R=permanent,L] redirect.txt: a x b y c z d k e j Since the redirected pages are many i would like to not have to put them a

Re: [EMAIL PROTECTED] mod_auth_kerb and mod_authnz_ldap

2008-12-05 Thread Eric Covener
On 12/5/08, Jesper Krogh <[EMAIL PROTECTED]> wrote: > Require ldap-group CN=TestGroup,OU=Groups,OU=Company > require valid-user Require directives are OR'ed not AND'ed, despite the way "require" sounds. -- Eric Covener [EMAIL PROTECTED] -

[EMAIL PROTECTED] Fwd: Error

2008-12-05 Thread Ron Green
I am running os x 10.5 and apache 2 and when I try to restart apache I get the following error: launchctl: CFURLWriteDataAndPropertiesToResource(/System/Library/ LaunchDaemons/org.apache.httpd.plist) failed: -10 How do I fix this? ---

[EMAIL PROTECTED] mod_auth_kerb and mod_authnz_ldap

2008-12-05 Thread Jesper Krogh
Hi. I'm trying to get a setup working where kerberos does authentication and ldap does authorization based on an Active Directory group. Alone the kerberos stuff works excellent. Even with a "Require group something" from a group file. But going to the LDAP configuration something goes wrong: -

RE: [EMAIL PROTECTED] Where should I put my java servlet .class file ?

2008-12-05 Thread Albert Joseph
Sorry ... Date: Fri, 5 Dec 2008 16:26:09 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: [EMAIL PROTECTED] Where should I put my java servlet .class file ? Albert, Apache Web Server and Apache Tomcat are two different "products". In order to run a servlet, you need Apache Tomcat.

RE: [EMAIL PROTECTED] Where should I put my java servlet .class file ?

2008-12-05 Thread Jorge Medina
Albert, Apache Web Server and Apache Tomcat are two different "products". In order to run a servlet, you need Apache Tomcat. You may get some help here: http://www.cristhianny.com/others/tomcat5_setup_first_servlet.html This list is dedicated to Apache Web Server, not Tomcat.

RE: [EMAIL PROTECTED] Where should I put my java servlet .class file ?

2008-12-05 Thread Albert Joseph
> Date: Fri, 5 Dec 2008 16:06:44 -0500> From: [EMAIL PROTECTED]> To: > users@httpd.apache.org> Subject: Re: [EMAIL PROTECTED] Where should I put my > java servlet .class file ?> > Apache HTTP Server doesn't run servlets. Maybe > you want something like tomcat?> > -- > Eric Covener> [EMAIL PROTE

Re: [EMAIL PROTECTED] Where should I put my java servlet .class file ?

2008-12-05 Thread Eric Covener
On 12/5/08, Albert Joseph <[EMAIL PROTECTED]> wrote: > b.class is the servlet which I put in the "htdocs" of the web server. Apache HTTP Server doesn't run servlets. Maybe you want something like tomcat? -- Eric Covener [EMAIL PROTECTED] ---

RE: [EMAIL PROTECTED] Where should I put my java servlet .class file ?

2008-12-05 Thread Albert Joseph
> Date: Fri, 5 Dec 2008 15:26:00 -0500> From: [EMAIL PROTECTED]> To: > users@httpd.apache.org> Subject: Re: [EMAIL PROTECTED] Where should I put my > java servlet .class file ?> > How did you tell httpd to run the class? What > file is referenced by> the exception? Does it happen on the HTTP se

RE: [EMAIL PROTECTED] AuthType, Content hashing for LDAP

2008-12-05 Thread Johnny Edge
In fact, auto_prepend_file could be used to include a script that unsets the var in question, which atm seems a harmless workaround. -Original Message- From: Nick Kew [mailto:[EMAIL PROTECTED] Sent: 05 December 2008 20:30 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] AuthType

Re: [EMAIL PROTECTED] Where should I put my java servlet .class file ?

2008-12-05 Thread Eric Covener
On 12/5/08, Albert Joseph <[EMAIL PROTECTED]> wrote: > > Hello, > > I wrote a java class that connects to a servlet which I compiled and put in > the "htdocs" directory of the web server, but I am getting > "java.io.FileNotFoundException" !! How did you tell httpd to run the class? What file is

Re: [EMAIL PROTECTED] Re: Apache 2.2.10 - apxs - cross-compiling modules failing

2008-12-05 Thread Paul Herring
On Fri, Dec 5, 2008 at 5:58 PM, Nick Kew <[EMAIL PROTECTED]> wrote: > On Fri, 05 Dec 2008 16:13:35 + > Tom Evans <[EMAIL PROTECTED]> wrote: > > >> apxs has its installbuilddir calculated when the apache binaries it >> accompanies are compiled and installed. Since yours doesn't look in >> the ri

[EMAIL PROTECTED] Where should I put my java servlet .class file ?

2008-12-05 Thread Albert Joseph
Hello, I wrote a java class that connects to a servlet which I compiled and put in the "htdocs" directory of the web server, but I am getting "java.io.FileNotFoundException" !! Thank you _ Send e-mail faster without improving

RE: [EMAIL PROTECTED] AuthType, Content hashing for LDAP

2008-12-05 Thread Johnny Edge
Nick, No option that I am aware off - I think server variables could be left unregistered as a group within php.ini conf file which of course results in a functionality disaster. One way to deal with this is to recompile PHP and opt not to register PHP_AUTH_PW (in main/php_variables.c). I thou

Re: [EMAIL PROTECTED] AuthType, Content hashing for LDAP

2008-12-05 Thread Nick Kew
On Fri, 5 Dec 2008 17:28:17 +0200 "Johnny Edge" <[EMAIL PROTECTED]> wrote: > Everything is fine and works as expected, however I much prefer to > have the 'Authorization: Basic YXBhY2hldXNlcjphcGFjaGVwYXNz' header > encrypted and not available to a var such as $_SERVER["PHP_AUTH_PW"] > in PHP whil

Re: [EMAIL PROTECTED] Re: Apache 2.2.10 - apxs - cross-compiling modules failing

2008-12-05 Thread Nick Kew
On Fri, 05 Dec 2008 16:13:35 + Tom Evans <[EMAIL PROTECTED]> wrote: > apxs has its installbuilddir calculated when the apache binaries it > accompanies are compiled and installed. Since yours doesn't look in > the right place, I'm guessing your cross built apache was not > installed/configure

Re: [EMAIL PROTECTED] Re: Apache 2.2.10 - apxs - cross-compiling modules failing

2008-12-05 Thread Tom Evans
On Fri, 2008-12-05 at 14:11 +, Paul Herring wrote: > checking for --with-apxs... /f15_nsb/usr/local/bin/apxs executable, good ^^^ > checking Apache version... cannot open > /usr/local/conf/build/config_vars.mk: No such file or directory at

Re: [EMAIL PROTECTED] Re: Apache 2.2.10 - apxs - cross-compiling modules failing

2008-12-05 Thread Paul Herring
On Fri, Dec 5, 2008 at 3:07 PM, Nick Kew <[EMAIL PROTECTED]> wrote: > On Fri, 5 Dec 2008 14:11:56 + > "Paul Herring" <[EMAIL PROTECTED]> wrote: > >> Copy/paste from the mod_python list from my initial stab at finding a >> solution: > > I don't see any evidence of your cross-compiled apache. Be

RE: [EMAIL PROTECTED] Static linking with libexpat

2008-12-05 Thread Bennett, Tony
>On Fri, Dec 5, 2008 at 4:13 AM, Bennett, Tony <[EMAIL PROTECTED]> wrote: >> From: Ravindra [mailto:[EMAIL PROTECTED] >> Sent: Thursday, December 04, 2008 12:05 PM >> To: users@httpd.apache.org >> Subject: [EMAIL PROTECTED] Static linking with libexpat >> >> Hi, >> >> I used "--disable-shared --wit

[EMAIL PROTECTED] AuthType, Content hashing for LDAP

2008-12-05 Thread Johnny Edge
Hi folks, I have a simple mod_authnz_ldap setup which grants access to a valid Domain User to the u1 location. AuthType Basic AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthUserFile /dev/null AuthLDAPBindDN "ADC\\apacheuser" AuthLDAPBindPassword apachepass AuthLDAP

Re: [EMAIL PROTECTED] Re: Apache 2.2.10 - apxs - cross-compiling modules failing

2008-12-05 Thread Nick Kew
On Fri, 5 Dec 2008 14:11:56 + "Paul Herring" <[EMAIL PROTECTED]> wrote: > Copy/paste from the mod_python list from my initial stab at finding a > solution: I don't see any evidence of your cross-compiled apache. -- Nick Kew Application Development with Apache - the Apache Modules Book http

Re: [EMAIL PROTECTED] Re: Apache 2.2.10 - apxs - cross-compiling modules failing

2008-12-05 Thread Paul Herring
On Fri, Dec 5, 2008 at 12:53 PM, Nick Kew <[EMAIL PROTECTED]> wrote: > On Fri, 5 Dec 2008 08:17:38 + > "Paul Herring" <[EMAIL PROTECTED]> wrote: > >> It's been a week since I posted this, and (possibly not surprisingly) >> I've had no replies. >> >> Is it because I've supplied insufficient deta

Re: [EMAIL PROTECTED] Re: Apache 2.2.10 - apxs - cross-compiling modules failing

2008-12-05 Thread Nick Kew
On Fri, 5 Dec 2008 08:17:38 + "Paul Herring" <[EMAIL PROTECTED]> wrote: > It's been a week since I posted this, and (possibly not surprisingly) > I've had no replies. > > Is it because I've supplied insufficient detail, I'm asking in the > wrong place, or because the apache/httpd/apxs build s

[EMAIL PROTECTED] Re: Apache 2.2.10 - apxs - cross-compiling modules failing

2008-12-05 Thread Paul Herring
It's been a week since I posted this, and (possibly not surprisingly) I've had no replies. Is it because I've supplied insufficient detail, I'm asking in the wrong place, or because the apache/httpd/apxs build simply isn't designed to be cross-compiled. On Fri, Nov 28, 2008 at 1:09 PM, Paul Herri