Re: [us...@httpd] apache2, mod_jk and basic auth

2009-07-15 Thread Steve Dalton
Thanks Nick...Worked a treat. Obvious really - now I feel a bit stupid :-P Regards Steve On Thu, Jul 16, 2009 at 7:24 AM, Nick Kew wrote: > Steve Dalton wrote: > > In my Directory section. This works when I remove the JkMount - but as >> soon as mod_jk is in play, >> >

[us...@httpd] apache2, mod_jk and basic auth

2009-07-15 Thread Steve Dalton
Hi All I have a nicely working Apache 2.2 proxying to Tomcat 6 via mod_jk (Ubuntu Jaunty). I need to slap up a quick basic auth user/password on the site to only allow special guests into the site for an initial limited release. I thought I could just put something like this: Auth

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-08 Thread Steve Dalton
09 at 1:16 PM, Matt McCutchen wrote: > On Mon, 2009-02-09 at 12:31 +1000, Steve Dalton wrote: > > RewriteRule ^(.*)$ /var/www/accesstest/%{LA-U: > > REMOTE_USER}/$1 > > > > didn't work for me. But > > > > RewriteEngine on > > RewriteCond %{ENV:RED

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-08 Thread Steve Dalton
. the directory name will always be the same as the user. Steve On Fri, Feb 6, 2009 at 12:42 PM, Matt McCutchen wrote: > On Thu, 2009-02-05 at 20:10 +1000, Steve Dalton wrote: > > Matt - That method didn't work for me... it got into an internal > > recursion and bombed out

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-05 Thread Steve Dalton
gt; Matt McCutchen wrote: > >> On Thu, 2009-02-05 at 18:01 +1000, Steve Dalton wrote: >> >>> I managed to do something similar in the end, using the prefix user_ >>> for each user directory then adding .htaccess to root dir of: >>> >>> Auth

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-05 Thread Steve Dalton
Thanks Matt I'll try that - looks a lot simpler... I'll also give it a good testing...:) Steve On Thu, Feb 5, 2009 at 6:41 PM, André Warnier wrote: > Matt McCutchen wrote: > >> On Thu, 2009-02-05 at 18:01 +1000, Steve Dalton wrote: >> >>> I managed to do so

Re: [us...@httpd] How to serve up different content depending on authenticated user

2009-02-05 Thread Steve Dalton
there is a better way to automate this - I don't like the extra .htaccess as if the file accidentally gets deleted the directory is open to valid users again. Steve On Thu, Feb 5, 2009 at 5:44 PM, André Warnier wrote: > Matt McCutchen wrote: > >> On Thu, 2009-02-05 at 15:1

[us...@httpd] How to serve up different content depending on authenticated user

2009-02-04 Thread Steve Dalton
Hi There I'm running apache 2.2 on Ubuntu and I need to serve up a different directory depending on the user that is authorised with the server. I've check the mailing list and apache docs but haven't found much so far - I may just not have the proper search terms though (I don't know how best to