[us...@httpd] Problem configuring cgi

2009-08-14 Thread Jaikishan Jalan
Hello, I am a new user of Apache HTTP server and one of the thing I am trying to do is to map all my request, valid or invalid in a way that a single script, say X (without any extension), gets executed. For this I try to set my Document Root directory to my root directory, say www. I also the D

[us...@httpd] Map every request to a single script

2009-08-14 Thread jjalan
Hello, I am learning Apache HTTP Server and I was wondering what is the best practice to map all the request valid or invalid to a single script on my server. For example, if anybody tries to access my site www.example.com, then my server should execute the script ( which in turn will respond wi

[us...@httpd] Re: Allow directive - limitation?

2009-08-14 Thread LuKreme
On 14-Aug-2009, at 00:30, Stephen Vaughan wrote: Is there a limitation on the number of characters you can have per line for 'Allow from'? I don't know about Allow from specifically, but often 'lines' are limited internally to eithe 255 characters or 1024 characters. Are you around any of

Re: [us...@httpd] Re: Apache load balancing

2009-08-14 Thread Sushant Gulati
Please try to use the jvmRoute directive in the server.xml. Regards, Sushant On Fri, Aug 14, 2009 at 3:58 PM, nilesh p wrote: > > wprker.properties is shown below > > worker.list=loadbalancer > > > worker.loadbalancer.type=lb > worker.loadba

[us...@httpd] Re: Apache load balancing

2009-08-14 Thread nilesh p
wprker.properties is shown below worker.list=loadbalancer worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=server2,server3,server4 worker.loadbalancer.sticky_session=true # Set properties for worker 'server2' (ajp13) worker.

[us...@httpd] Apache load balancing

2009-08-14 Thread nilesh p
Dear Friends, Using apache i am trying to load balance JBOSS.There are 2 JBOSS instances on 2 different servers.Now if only one JBOSS is started , the application works perfectly. However, when i start the other JBOSS, my application starts giving "service temporarily unavailable" or "session exp

Re: [us...@httpd] Allow directive - limitation?

2009-08-14 Thread Nico De Ranter
There is no need to have everything on one line, you can have multiple Allow lines. For instance we use something like this a lot: Order deny,allow Allow from 10.10.1.0/24 Allow from 10.10.5.0/24 Allow from 127.0.0.1 Nico On Fri, 2009-08-14 at 16:30 +1000, Stephen Vaughan wrote: > Hi, > > Is