Re: [users@httpd] Access rules in an intranet

2012-06-14 Thread Anam Ali Khan
I think you don't need to use option in your config file. Replace with option and add following code in it. Order deny,allow deny from all allow from 10.215.1.0 To: users@httpd.apache.org; Anam Ali Khan Sent: Thursday, 14 June 2012, 12:19 Subject: Re: [users@httpd] Access rules

Re: [users@httpd] Access rules in an intranet

2012-06-13 Thread Anam Ali Khan
Hi, Insert "Directory" block in virtual host container (configuration). It seems you have added in that area where option is not allowed. -Anam From: Luís de Sousa To: users@httpd.apache.org; Anam Ali Khan Sent: Wednesday, 13 June 2012, 11:52 S

Re: [users@httpd] Access rules in an intranet

2012-06-12 Thread Anam Ali Khan
Try the following configuration: Order deny,allow deny from all allow from 10.215.1.0 Replace "phppgadmin location" with the actual location whereyou have installed your application. Hope it will solve :) -Anam From: Luís de Sousa To: users@httpd.apache

Re: [users@httpd] Help troubleshooting performance issue, after "1000 total children" Apache no longer responds to HTTP requests. Not MaxClients issue?

2012-05-05 Thread Anam Ali Khan
PJ You have increased "Max Open files" setting BUT i think you should increased "open files descriptor" limit at operating system level. There is a linux kernel parameter "file-max" in /proc that does the trick. Try increasing to 1000. Hope this will help Thanks! Anam __

Re: [users@httpd] Static content switching in Apache

2012-04-13 Thread Anam Ali Khan
p servers. Kind Regards, Jaco On 29/02/12 11:08, Anam Ali Khan wrote: Thank you Tom for your reply. > > >I don't want to serve static content from Apache, i want to forward those >requests to lightweight web servers and they should be capable to serve those >content. > &g

Re: [users@httpd] Load Balancing, no fail over when backend server is down?

2012-03-28 Thread Anam Ali Khan
I think Apache mod_proxy do not support health checking for backend servers. -Anam From: Ryan Bowman To: users@httpd.apache.org Sent: Thursday, 29 March 2012, 2:04 Subject: [users@httpd] Load Balancing, no fail over when backend server is down? Greetings I

Re: [users@httpd] Different pages served depending on IP address or domain addressing

2012-03-19 Thread Anam Ali Khan
: [users@httpd] Different pages served depending on IP address or domain addressing The ServerAlias directive is only applicable in the virtual host section. Do I need to add a vhost definition? --p On 03/17/2012 10:21 AM, Anam Ali Khan wrote: Try this! > > > >UseCanonicalName Off

Re: [users@httpd] Different pages served depending on IP address or domain addressing

2012-03-17 Thread Anam Ali Khan
Try this! UseCanonicalName Off ServerAlias www.mydomain.com Remove :80 in ServerName directive Make sure DNS records are properly configure. -Anam From: Prasanna Mulgaonkar To: users@httpd.apache.org Sent: Saturday, 17 March 2012, 5:17 Subject: [users@http

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-15 Thread Anam Ali Khan
Why are you defining mod_proxy_balancer directives in WEB1 & WEB2. You only need to configure these in Apache Load Balancer machine. Correct me if i am wrong. -Anam From: Anam Ali Khan To: "users@httpd.apache.org" Sent: Thursday, 15 Mar

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-15 Thread Anam Ali Khan
Do not use session replication/sharing, use session stickiness instead. -Anam From: Igor Cicimov To: users@httpd.apache.org Sent: Wednesday, 14 March 2012, 14:48 Subject: RE: [users@httpd] Apache + Tomcat Load Balancing What is in apache log file, any prox

Re: [users@httpd] htaccess

2012-03-14 Thread Anam Ali Khan
Yes, Apache access.htaccess only at that point where you inserted AllowOverride in the directory container. It also saves a little disk io load on web server :) -Anam From: Nick Edwards To: users Sent: Wednesday, 14 March 2012, 11:41 Subject: [users@http

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-13 Thread Anam Ali Khan
Last but not the least mod_proxy_balancer supports AJP protocol :) -Anam From: Anam Ali Khan To: "users@httpd.apache.org" ; Kashif Rahman Sent: Tuesday, 13 March 2012, 23:07 Subject: Re: [users@httpd] Apache + Tomcat Load Balancing Dear Kash

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-13 Thread Anam Ali Khan
the documentation carefully. You can achieve your goal instead of HAproxy solution. Thanks, Anam From: Anam Ali Khan To: Kashif Rahman ; "users@httpd.apache.org" Sent: Tuesday, 13 March 2012, 14:13 Subject: Re: [users@httpd] Apache + Tomcat Load

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-13 Thread Anam Ali Khan
First check Apache supports session stickness in PHP application environment, if yes then you can go with your current configuration instead of HAproxy. -Anam From: Kashif Rahman To: users@httpd.apache.org; 'Anam Ali Khan' Sent: Tuesday, 13 March

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-12 Thread Anam Ali Khan
Hello, It looks like very complex configuration in your application environment. You can achieve the same with HAProxy example as given before. Why opt for complex configuration instead of easy available solution. Thanks, Anam From: Kashif Rahman To: users@

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-09 Thread Anam Ali Khan
Hi,I would recommend HAProxy as a load balancer in your PHP + JSP application environment. It will work as follows:1. First HAProxy will accept client request.2. It will forward those requests to two machines via round robin 3. Each WebServer must use mod_jk as a connector (module) for Apache/Tomc

Re: [users@httpd] What's the name of the http server on my Ubuntu: httpd or apache2?

2012-03-06 Thread Anam Ali Khan
I think it is not so important to call Apache web server as apache2 in any distribution. The truth is that the proper name of Apache Web Server is httpd which is why Apache Software Foundation call by this name. -Anam From: Mathijs To: users@httpd.apache.

Re: [users@httpd] public_html directory authentication

2012-03-02 Thread Anam Ali Khan
Hello, Try with this configuration:       AuthType Basic     AuthUserFile  /home/username/public_html/Private/.htpasswd     AuthName Test     Require valid-user     AllowOverride All     Order allow,deny     Allow from all chmod 644 /home/username/public_html/Private/.htpasswd chown root:apach

Re: [users@httpd] viurtual management

2012-03-02 Thread Anam Ali Khan
Create a symbolic link in each domain document root. -Anam From: Pete Houston To: users@httpd.apache.org Sent: Friday, 2 March 2012, 15:17 Subject: Re: [users@httpd] viurtual management On Fri, Mar 02, 2012 at 08:06:55PM +1000, Nick Edwards wrote: >  With a

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Anam Ali Khan
Place SetEnvIfNoCase in a single line. Sorrt, first will deny ALL requests that ending in dll extension and next directives will not logged those requests in Apache logs. Thanks, Anam From: Anam Ali Khan To: "users@httpd.apache.org" Sent: Frida

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Anam Ali Khan
You can try following configuration in Apache virtual host container. Order deny,allow Deny from all SetEnvIfNoCase Request_URI "^[/]cgi-bin[/](*)\.dll)$" dontlog CustomLog/var/log/httpd/access_log combined env=!dontlog First will deny allow requests that ending in dll extension and next direc

Re: [users@httpd] Static content switching in Apache

2012-02-29 Thread Anam Ali Khan
Thank you Tom for your reply. I don't want to serve static content from Apache, i want to forward those requests to lightweight web servers and they should be capable to serve those content. From: Tom Evans To: users@httpd.apache.org; Anam Ali Khan

[users@httpd] Static content switching in Apache

2012-02-28 Thread Anam Ali Khan
Hello, I would like to implement following configurations in Apache web server: 1. Static content switching (forwarding) of files in Apache to lightweight web servers -> Servers like thttpd/lightttpd 2. Responce should be return directly by those lightweight web servers. Waitin