Re: [us...@httpd] Problems with AuthType Basic in site file

2009-01-30 Thread Sheldon Ross
f not, you need to create .htaccess, and .htpasswd files in the directories you want to authenticate. On Fri, 2009-01-30 at 16:20 -0700, Sheldon Ross wrote: > First your site file need to contains > > > AuthName "Private Site" > AuthType

Re: [us...@httpd] Problems with AuthType Basic in site file

2009-01-30 Thread Sheldon Ross
First your site file need to contains AuthName "Private Site" AuthType basic AuthUserFile /etc/apache2/htusers require valid-user And I've found that a force-reload doesn't always recognize this, you(I anyway) have

[us...@httpd] Location based auth

2009-01-19 Thread Sheldon Ross
I can't seem to find information on using password authentication within a tag. I've used .htaccess files in directories, but I'm using mod_jk to connect to tomcat and a status worker, and would like to restrict access to the status worker. There is no directory to put .htaccess in so how would I

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
Big Thanks for everyone's help, I was finally able to get it working. To be honest though, I'm not sure what of the many fiddlings I did did it! On Wed, 2009-01-14 at 15:03 -0500, Brian Mearns wrote: > On Wed, Jan 14, 2009 at 2:45 PM, Sheldon Ross wrote: > > Thanks, I've

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
erify that mod_rewrite is actually getting loaded? Thanks again! On Wed, 2009-01-14 at 20:27 +0100, Bob Ionescu wrote: > 2009/1/14 Sheldon Ross : > >RewriteRule ^/bob$ /temp1/temp1/temp2 > > That rule (with 'RewriteEngine on' as already mentioned) wouldn't >

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
I've tried putting ReWriteEngine On in both the apache2.conf and the sites-enabled file. No effect. On Wed, 2009-01-14 at 14:20 -0500, Matt McCutchen wrote: > On Wed, 2009-01-14 at 12:13 -0700, Sheldon Ross wrote: > > I cannot get mod_r

[us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
I cannot get mod_rewrite to work. I have enabled it through 'sudo a2enmod rewrite'. Under /mods-enabled/ there is 'rewrite.load' contents Code: LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so Here is a snippet of my /sites-enabled/ file Code: ServerAdmin webmas...@loc

Re: Clearing login details from browser

2008-12-19 Thread Sheldon Ross
IMHO The JBOSS application should probably be handling the logins, if this application is very sophisticated. How are you handling sessions? On Fri, 2008-12-19 at 13:06 +, Tom Evans wrote: > On Fri, 2008-12-19 at 12:14 +, Kirk, Laurence wrote: > > I have apache acting as a proxy and pro

LoadBalancing clean shutdown

2008-12-11 Thread Sheldon Ross
Hello, I currently have an apache server running as a load-balancer between multiple tomcat machines. My problem is this: I would like to be able to update the tomcat machines without bringing down the whole system and disrupting users. Ideally, a machine would be flagged to stop servicing