[users@httpd] Access control with source IP addresses

2014-11-20 Thread Bu Xiaobing
Hi All, I want to do the httpd URL access control through visitors' IP addresses as the following : all source IP address can visit ^/action.php?login and only specified IP addresses can visit ^/action.php?manage Anyone can give me some advises? Thanks.

Re: [users@httpd] questions and suggestions related to authentication

2014-11-20 Thread Eric Covener
On Thu, Nov 20, 2014 at 2:22 PM, Don Cohen wrote: > Eric Covener writes: > > On Thu, Nov 20, 2014 at 1:31 PM, Don Cohen > wrote: > > > However, I also am surprised that I don't see some more general module > > > that allows the user to write his own script for authentication. > > > > FastCG

Re: [users@httpd] questions and suggestions related to authentication

2014-11-20 Thread Don Cohen
Eric Covener writes: > On Thu, Nov 20, 2014 at 1:31 PM, Don Cohen > wrote: > > However, I also am surprised that I don't see some more general module > > that allows the user to write his own script for authentication. > > FastCGI scripts can perform authentication. Lua scripts can too.

Re: [users@httpd] questions and suggestions related to authentication

2014-11-20 Thread Eric Covener
On Thu, Nov 20, 2014 at 1:31 PM, Don Cohen wrote: > However, I also am surprised that I don't see some more general module > that allows the user to write his own script for authentication. FastCGI scripts can perform authentication. Lua scripts can too. The problem with anything else doing it

[users@httpd] questions and suggestions related to authentication

2014-11-20 Thread Don Cohen
Looking at http://httpd.apache.org/docs/current/howto/auth.html I am able to at least use file authentication. I tried using dbd with DBDriver mysql but that reports Can't load driver file apr_dbd_mysql.so and it's not obvious where to get that (using fedora 19). So one question is where to fin

RE: [users@httpd] Proxy problems when using subdirectory (UNCLASSIFIED)

2014-11-20 Thread Folino, Nick E CTR USARMY HRC (US)
Classification: UNCLASSIFIED Caveats: FOUO Your configuration: ProxyPass /a/ http://192.168.0.51:80/ ProxyPassReverse /a/ http://192.168.0.51:80/ Will not proxy /docs to /a/docs. For that you need: ProxyPass / http://192.168.0.51:80/a/ ProxyPassReverse / http://192.168.0.51:

Re: [users@httpd] Load balancing with load detection on backend servers ?

2014-11-20 Thread Daniel Ruggeri
The guts are all there for this to work on the proxy side. We just need to make a module out of it. The question of header name and what-not can be solved by making it configurable. The real $1,000,000 question is what your backend is and how you can gather load information. This would be trivia

Re: [users@httpd] Load balancing with load detection on backend servers ?

2014-11-20 Thread Jim Jagielski
The only real question is how the load value of the backend systems can be known and then "told" to Apache. I had proposed awhile ago using some sort of custom HTTP X-header to send that info. > On Nov 19, 2014, at 3:28 AM, ulrich.her...@t-systems.com wrote: > > Hi all, > > I know the load_bala