[us...@httpd] httpd is opening a private directory

2009-02-08 Thread howard chen
Hello, I have a quite busy web server, so I use lsof to trace what files/directory are actually using: /usr/sbin/lsof and I found SO MANY... httpd 1745 web cwd DIR8,6 4096 8427988 /var/my_web_site/private httpd 1747 web cwd DIR

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

2009-02-08 Thread Steve Dalton
Yes - I have it in the virtual host config for the particular named host (ie. the config in the sites-enabled directory on ubuntu) . It's running on the SSL part of the site (the non-SSL is a drupal site). It does work. I see what you mean on the .htaccess... great! Steve On Mon, Feb 9, 2009 at

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

2009-02-08 Thread Matt McCutchen
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:REDIRECT_PREFIXED_USER} !1 > RewriteRule ^(.*)$ /var/www/accesstest/%{REMOTE_ > USER}/$1 [E=PREFIXED_USER:

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

2009-02-08 Thread Steve Dalton
Thanks Matt RewriteRule ^(.*)$ /var/www/accesstest/%{LA-U:REMOTE_USER}/$1 didn't work for me. But RewriteEngine on RewriteCond %{ENV:REDIRECT_PREFIXED_USER} !1 RewriteRule ^(.*)$ /var/www/accesstest/%{REMOTE_USER}/$1 [E=PREFIXED_USER:1] worked a treat - I didn't put it in .htaccess - just in th

Re: [us...@httpd] Using more than one authentication resources

2009-02-08 Thread Craig McQueen
I tried something very similar with Subversion on an Apache 2.2.9 server. In our case however, we were trying to use both the SSPI authentication and htpasswd-style password file. According to some docs, it should work with Apache 2.0. But I couldn't get it to work with Apache 2.2. See: http:/