Re: [users@httpd] Can Basic authentication (or equivalent) ask a script to perform the authentication?

2011-10-04 Thread Devraj Mukherjee
On Wed, Oct 5, 2011 at 4:15 PM, Ben Timby wrote: > On Tue, Oct 4, 2011 at 8:51 PM, Devraj Mukherjee wrote: >> Is it possible to configure Apache to ask a script to perform the >> authentication / authorization but allow Apache to serve the content? > > Yes, with mod_wsgi even. > > http://code.goo

Re: [users@httpd] Can Basic authentication (or equivalent) ask a script to perform the authentication?

2011-10-04 Thread Ben Timby
On Tue, Oct 4, 2011 at 8:51 PM, Devraj Mukherjee wrote: > Is it possible to configure Apache to ask a script to perform the > authentication / authorization but allow Apache to serve the content? Yes, with mod_wsgi even. http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms

Re: [users@httpd] Could Apache login support CAPTCHA and lockout?

2011-10-04 Thread Devraj Mukherjee
Hi Neal, I have used http://authmemcookie.sourceforge.net/ previously to create a form based authentication for web sites. The form can be in any scripting language Apache supports so CAPTCHA should be easy to implement. On Tue, Oct 4, 2011 at 11:44 PM, Neal Rhodes wrote: > We have bunches of w

[users@httpd] Can Basic authentication (or equivalent) ask a script to perform the authentication?

2011-10-04 Thread Devraj Mukherjee
Hi all, We have a largish application written in Python / MySQL running under Apache 2.2.x + mod_wsgi (Ubuntu 11.04). Part of the application requires us to deliver large number of documents to each user. Problem being each user has different levels of access (based on roles they have in an appli

Re: [users@httpd] Add a Alias

2011-10-04 Thread Mark Montague
On October 4, 2011 4:32 , Josu Lazkano wrote: Hello, I am trying to configure a site, I want to add a Alias. This way it works well: ServerAdmin mymail ServerName site1.mydomain.com [...] But I want to get my web from http://site1.domain.com and http://server/site1, so I add

Re: [users@httpd] Track + Trace HTTP Methods

2011-10-04 Thread Mark Montague
On October 4, 2011 10:09 , Nick Tkach wrote: I know I've read in the past that the TRACK method is not supported by Apache. Is that correct? Anyone have a reference they could point me to that explains that?I just need something to point our engineering group to to explain that only Trac

Re: [users@httpd] Limit + LimitExcept Blocks?

2011-10-04 Thread Igor Cicimov
Yes it is keep the LimitExcept only. On Oct 5, 2011 1:41 AM, "Nick Tkach" wrote: > Isn't it redundant to have *both* a Limit and LimitExcept if all you're > trying to do is limit HTTP methods for everything on a given httpd to only > GET POST HEAD? > > > Options FollowSymLinks > AllowOverride No

[users@httpd] Limit + LimitExcept Blocks?

2011-10-04 Thread Nick Tkach
Isn't it redundant to have *both* a Limit and LimitExcept if all you're trying to do is limit HTTP methods for everything on a given httpd to only GET POST HEAD? Options FollowSymLinks AllowOverride None Order allow,deny Allow from all Order Deny,Allow Deny from all

[users@httpd] Track + Trace HTTP Methods

2011-10-04 Thread Nick Tkach
I know I've read in the past that the TRACK method is not supported by Apache. Is that correct? Anyone have a reference they could point me to that explains that?I just need something to point our engineering group to to explain that only TraceEnable Off is needed (not the rewrite rule).

Re: [users@httpd] setting mod_fcgid tmp directory?

2011-10-04 Thread Eric Covener
On Tue, Oct 4, 2011 at 9:22 AM, startx wrote: >> > On Fri, 30 Sep 2011 01:30:14 -0700 >> > Wade Evans  wrote: >> > >> >> what happens when you set "TEMP"? >> >> >> >> -w >> > >> > unfortunately that doesn't do anything either, still >> > fcgid creates  /tmp/fcgid. >> >> >> apr tries for a writ

Re: [users@httpd] setting mod_fcgid tmp directory?

2011-10-04 Thread startx
> > On Fri, 30 Sep 2011 01:30:14 -0700 > > Wade Evans  wrote: > > > >> what happens when you set "TEMP"? > >> > >> -w > > > > unfortunately that doesn't do anything either, still > > fcgid creates  /tmp/fcgid. > > > apr tries for a writable temp dir in this order -- sure you had the > native

[users@httpd] Could Apache login support CAPTCHA and lockout?

2011-10-04 Thread Neal Rhodes
We have bunches of web applications which use the regular Apache login protection, and they won't run unless REMOTE_USER is set by the Apache login. require valid-user require valid-user AuthName O-Visitor Au

Re: [users@httpd] Add a Alias

2011-10-04 Thread Hugo Gomes
Hi, Doesn't work, but what happens? http gives you an error? You can do a redirect. Regards, Hugo Gomes On Tue, 2011-10-04 at 10:32 +0200, Josu Lazkano wrote: > Hello, I am trying to configure a site, I want to add a Alias. This way > it works well: > > >

[users@httpd] Add a Alias

2011-10-04 Thread Josu Lazkano
Hello, I am trying to configure a site, I want to add a Alias. This way it works well: ServerAdmin mymail ServerName site1.mydomain.com DocumentRoot /usr/share/site1 Options FollowSymLinks AllowOverride All