[users@httpd] Single auth file for many per-user directories

2012-05-23 Thread Richard Davies
Hi all, I would appreciate any suggetions on how to achieve the following: I have a large number of per-user directories: /var/www/user1 /var/www/user2 /var/www/user3 ... And a htdigest file containing usernames and passwords for all of these users. I want to set up authentication for

Re: [users@httpd] Single auth file for many per-user directories

2012-05-23 Thread Eric Covener
>  Require > > Or alternatively, a way for me to have "Require valid-user", but then > somehow prevent users from accessing directories other than their own? > (even with a hack like rewrite rules?) There is a shortcut if the those names are system users and they actually own their directories:

Re: [users@httpd] Single auth file for many per-user directories

2012-05-23 Thread Richard Davies
Eric Covener wrote: > > ?Require > > > > Or alternatively, a way for me to have "Require valid-user", but then > > somehow prevent users from accessing directories other than their own? > > (even with a hack like rewrite rules?) > > There is a shortcut if the those names are system users and they

[users@httpd] Re: Spammers Real IP need to block at apache

2012-05-23 Thread Rajeev Kumar
> Hi, > > We have a site running on Apache2.2.16 on REHL 5 and Akamai CDN in front, > now that there are lot of spam requests hitting our site we want to block > them from Apache as this would be quite convenient, however with the > True-Cleint-IP enabled the rule below doesn't seem to be effective

[users@httpd] mod_fcgid setting content-type header

2012-05-23 Thread Ross Garinger
Hi, I am running PHP through mod_fgcid using the following setup in a conf file: DefaultInitEnv PHPRC=/etc/php5/cgi #DefaultInitEnv PHP_FCGI_MAX_REQUESTS 5000 AddHandler php-fcgi .php .css Action php-fcgi /fcgi-bin/php-fcgi-wrapper AddType appli

Re: [users@httpd] mod_fcgid setting content-type header

2012-05-23 Thread Eric Covener
> The only approach I've found that works is to > stick a header("Content-type: text/css") at the top of my css files, which > is inconvenient to say the least. Anyone have a solution for this? Most of those *type directives only apply when apache serves a static file by that name. If you're gener

Re: [users@httpd] mod_fcgid setting content-type header

2012-05-23 Thread Ross Garinger
Eric, Thanks for your response. That's sort of what I figured since processing is handed over to fcgi to complete the request then httpd has no control at that point, and any response headers that were set before by httpd could be overwritten. The strange thing is that I have a similar block of

[users@httpd] Error: The page isn't redirecting properly

2012-05-23 Thread Csanyi Pal
Hi, I'm running apache2 Version: 2.2.16-6+squeeze4 on my Debian GNU/Linux Squeeze operating system. I have installed Moodle on this web server and it can be opened from the Internet: http://cspl.me/moodle I have my small (Joomla) website too: http://cspl.me on this web server. It can be opened

Re: [users@httpd] Error: The page isn't redirecting properly

2012-05-23 Thread Mohamed Daif
hi, disable Use URL rewriting from joomla administrator from Global Configuration On Wed, May 23, 2012 at 9:23 PM, Csanyi Pal wrote: > Hi, > > I'm running apache2 Version: 2.2.16-6+squeeze4 on my Debian GNU/Linux > Squeeze operating system. > > I have installed Moodle on this web server and it

Re: [users@httpd] Denial of Service due to multiplication of httpd running

2012-05-23 Thread Bill Unruh
On Tue, 22 May 2012, Bill Unruh wrote: Madriva 2010.2 running httpd apache 2.2.22 I am having trouble with httpd requests staying active and multiplying. I just came off having 160 versions of httpd running and completely slowing down the system. I upgraded to 2.2.22 and it still happens (it

[users@httpd] CLOSE_WAIT problem

2012-05-23 Thread Bongjae Chang
Hi all, I sent this issue to the dev mailing but I couldn't receive any responses. I think this subject is fit to be discussed in the user mailing so I am sending this again. :-) When I tested mod_proxy + mod_proxy_balancer + (mod_proxy_ajp or mod_proxy_http) with worker mpm, I always met CLOSE_W