Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Igor Cicimov
Also the directive is worth looking at in your case. Did you define your Directory directive like this? DirectoryIndex index.jsp # someother directives . Cheers, Igor On Tue, Feb 16, 2010 at 4:06 PM, Igor Cicimov wrote: > So what exactly you are trying to achieve now can

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Igor Cicimov
So what exactly you are trying to achieve now can you be more specific? I assume you have already set up the apache to be reverse proxy for the weblogic application... Also what does the war file have to do with anything? When you deploy the app in weblogic, the server explodes (unjar) the war file

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Charan
I tried but that didn't work for me. One concern I have is how can Apache look for the index.jsp when they are in a war file which is deployed onto weblogic. Apache can look for files only under the docroot. On Mon, Feb 15, 2010 at 7:43 PM, Igor Cicimov wrote: > http://httpd.apache.org/docs/2.2

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Igor Cicimov
http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex On Tue, Feb 16, 2010 at 1:42 PM, Charan wrote: > Is it possible to use DirectoryIndex eventhough I dont have the index.jsp > in the docroot > > > On Mon, Feb 15, 2010 at 4:21 PM, Igor Cicimov wrote: > >> Don't need redirect have a

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Charan
Is it possible to use DirectoryIndex eventhough I dont have the index.jsp in the docroot On Mon, Feb 15, 2010 at 4:21 PM, Igor Cicimov wrote: > Don't need redirect have a look at DirectoryIndex directive. > > e.g. > DirectoryIndex index.jsp > > Igor > > > On Tue, Feb 16, 2010 at 10:59 AM, Chara

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Igor Cicimov
Don't need redirect have a look at DirectoryIndex directive. e.g. DirectoryIndex index.jsp Igor On Tue, Feb 16, 2010 at 10:59 AM, Charan wrote: > Hi, > > for the website I'm migrating, all the folders have their welcome page as > index.jsp and that page is in the weblogic. > If I click on any

[us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Charan
Hi, for the website I'm migrating, all the folders have their welcome page as index.jsp and that page is in the weblogic. If I click on any link it's going until the folder but not picking up the index.jsp. Suppose that I have the below folders, how can I have a generic rule using Rewrite module f

Re: [us...@httpd] can't start apache

2010-02-15 Thread Paul McFerrin
Check your port "forwarding" on your router. It appears that the IP you got was on a router and port forwarding for port 80 is not set to 192.168.0.1. Matthew Smith wrote: Ok, i found this and tried what it said: http://www.issociate.de/board/post/474531/2.2.6_won't_start_-_The_Apache2.2_serv

Re: [us...@httpd] can't start apache

2010-02-15 Thread Daniel Reinhardt
-- From: "Matthew Smith" Sent: 15 February, 2010 18:42 To: Subject: Re: [us...@httpd] can't start apache Ok, I figured it out. I was using a mapped drive for the document root. Maybe it is a permission issue? I have given full control to every

[us...@httpd] Why is enabling SSI for .html files a risk?

2010-02-15 Thread Agenda-Agentur Berlin - Lars Vogelsang
Hi! In the security tips on Apache 1.3, 2.0 and 2.2 it is stated as follows: "Enabling SSI for files with .html or .htm extensions can be dangerous. This is especially true in a shared, or high traffic, server environment." http://httpd.apache.org/docs/trunk/misc/security_tips.html Enabling SSI

Re: [us...@httpd] errordocument without htaccess

2010-02-15 Thread Wing Tang
I'll check that tomorrow... strange it seems that it should work with/without .htaccess... Met vriendelijke groet, Wing Tang mob: +31624870322 On Mon, Feb 15, 2010 at 5:50 PM, Nilesh Govindarajan wrote: > On 02/15/2010 08:23 PM, Wing Tang wrote: > >> Hi Nilesh >> >> Yes it does exist. I just

Re: [us...@httpd] JMeter Load Testing of Tomcat through Apache Proxy

2010-02-15 Thread Robert Hall
Dan, On Feb 15, 2010, at 10:37 AM, Dan Denton wrote: Hello all. I’m trying to load test a login page served by tomcat 6, proxied through apache 2 with mod_proxy. I’m using JMeter 2.3.4 to conduct the testing. My thread group consists of 500 sessions , and the sample is a GET of a simple login p

Re: [us...@httpd] can't start apache

2010-02-15 Thread Matthew Smith
Ok, I figured it out. I was using a mapped drive for the document root. Maybe it is a permission issue? I have given full control to everyone, so I'm not sure what it is. On Mon, Feb 15, 2010 at 12:17 PM, Matthew Smith wrote: > I hadn't set up the static lease on my router when I installed apa

[us...@httpd] JMeter Load Testing of Tomcat through Apache Proxy

2010-02-15 Thread Dan Denton
Hello all. I’m trying to load test a login page served by tomcat 6, proxied through apache 2 with mod_proxy. I’m using JMeter 2.3.4 to conduct the testing. My thread group consists of 500 sessions , and the sample is a GET of a simple login page. JMeter returns errors for a varying percentage of t

Re: [us...@httpd] can't start apache

2010-02-15 Thread Matthew Smith
I hadn't set up the static lease on my router when I installed apache. 110 was the original ip. I have since set up the server to use 192.168.1.2. I am connecting to it through remote desktop at .2 right now. Do I need to change anywhere else because of the new ip? On Mon, Feb 15, 2010 at 11:3

Re: [us...@httpd] can't start apache

2010-02-15 Thread Jeff Trawick
On Mon, Feb 15, 2010 at 12:06 PM, Matthew Smith wrote: > The user account I am logged in as is an admin. > > 192.168.1.2 is the ip address assigned to the computer. Are you sure? Do you have multiple interfaces and/or IPs? Apache retrieved 192.168.1.110 as the primary address: "httpd.exe: Coul

Re: [us...@httpd] can't start apache

2010-02-15 Thread Matthew Smith
Ok, i found this and tried what it said: http://www.issociate.de/board/post/474531/2.2.6_won't_start_-_The_Apache2.2_service_terminated_with_service-specific_error_1_(0x1)..html I had a directory error which I have resolved. Now I get : C:\Program Files\Apache Software Foundation\Apache2.2\bin>ht

Re: [us...@httpd] can't start apache

2010-02-15 Thread Matthew Smith
Here the conf. I commented out the vhosts and ColdFusion stuff to see if it would work but it still doesn't. Maybe someone more familiar than me will spot something? Sorry for the long post. -- # # This is the main Apache HTTP server configura

Re: [us...@httpd] can't start apache

2010-02-15 Thread Matthew Smith
The user account I am logged in as is an admin. 192.168.1.2 is the ip address assigned to the computer. I just did a clean install of windows and apache, still I'm getting the same problem. On Sun, Feb 14, 2010 at 2:11 PM, Daniel Reinhardt wrote: > >

Re: [us...@httpd] errordocument without htaccess

2010-02-15 Thread Nilesh Govindarajan
On 02/15/2010 08:23 PM, Wing Tang wrote: Hi Nilesh Yes it does exist. I just replaced the text string but still no result. Do I need to an .htaccess to get it to work. Met vriendelijke groet, Wing Tang mob: +31624870322 On Mon, Feb 15, 2010 at 3:48 PM, Nilesh Govindarajan mailto:li...@itech

Re: [us...@httpd] observed delay for changing process owner

2010-02-15 Thread Eric Covener
On Mon, Feb 15, 2010 at 11:11 AM, Harald Falkenberg wrote: > Hi, > > yes, we use nis/pam on the machine, but the mentioned user and group is > placed local in /etc/passwd and /etc/group. Also I configured the system to > lookup first in files and then in nis. > > I observed this behaviour simple v

Re: [us...@httpd] observed delay for changing process owner

2010-02-15 Thread Harald Falkenberg
Hi, yes, we use nis/pam on the machine, but the mentioned user and group is placed local in /etc/passwd and /etc/group. Also I configured the system to lookup first in files and then in nis. I observed this behaviour simple via running several times ps and saw, that it took quite a while tha

Re: [us...@httpd] observed delay for changing process owner

2010-02-15 Thread Scott Gifford
On Mon, Feb 15, 2010 at 10:43 AM, Harald Falkenberg < harald.falkenb...@desy.de> wrote: [ ... ] > Now I observed, that it takes a long time to change the onwership of the > processes, which I set via the 'user' and 'grou' derictives in httpd.conf. > After the ownership changed, the processes serve

Re: [us...@httpd] observed delay for changing process owner

2010-02-15 Thread Eric Covener
On Mon, Feb 15, 2010 at 10:43 AM, Harald Falkenberg wrote: > Hello, > > I use apache 1.3.41 on a solaris sparc system. > > Since quite a while I was wondering, why the httpd processes startup very > quickly, but do not serve any request for 60 until 90 seconds. > > Now I observed, that it takes a

[us...@httpd] observed delay for changing process owner

2010-02-15 Thread Harald Falkenberg
Hello, I use apache 1.3.41 on a solaris sparc system. Since quite a while I was wondering, why the httpd processes startup very quickly, but do not serve any request for 60 until 90 seconds. Now I observed, that it takes a long time to change the onwership of the processes, which I set via t

Re: [us...@httpd] apache over ServerLimit processes limit

2010-02-15 Thread Jeff Trawick
On Mon, Feb 15, 2010 at 9:01 AM, Zdravko Spoljar wrote: > On Mon, 2010-02-15 at 07:29 -0500, Jeff Trawick wrote: > > > >> >> Anything that causes child processes to exit during steady state can >> lead to extra child processes *when some requests take a relatively >> long time to finish*. > > now

Re: [us...@httpd] errordocument without htaccess

2010-02-15 Thread Wing Tang
Hi Nilesh Yes it does exist. I just replaced the text string but still no result. Do I need to an .htaccess to get it to work. Met vriendelijke groet, Wing Tang mob: +31624870322 On Mon, Feb 15, 2010 at 3:48 PM, Nilesh Govindarajan wrote: > ErrorDocument 404 "This is test 404 error"

Re: [us...@httpd] errordocument without htaccess

2010-02-15 Thread Nilesh Govindarajan
On 02/15/2010 08:15 PM, Wing Tang wrote: Hello, I want to redirect a http status code 404 to a custom page. I have configured within an virtual host the following: ErrorDocument 404 /custom_404.html In the access.log I can see the 404 but the custom error page actually never shows up. I hav

[us...@httpd] errordocument without htaccess

2010-02-15 Thread Wing Tang
Hello, I want to redirect a http status code 404 to a custom page. I have configured within an virtual host the following: ErrorDocument 404 /custom_404.html In the access.log I can see the 404 but the custom error page actually never shows up. I havent used the .htaccess file. Anyone any ide

Re: [us...@httpd] apache over ServerLimit processes limit

2010-02-15 Thread Zdravko Spoljar
On Mon, 2010-02-15 at 19:00 +0530, Nilesh Govindarajan wrote: > > Are you sure that you're using worker MPM ? > i have (in Gentoo): APACHE2_MPMS = "worker" and USE flag "threads" so yes, i'm 100% sure this is worker MPM in use. also 'ps auxm' show multiple threads per process, and number of p

Re: [us...@httpd] apache over ServerLimit processes limit

2010-02-15 Thread Zdravko Spoljar
On Mon, 2010-02-15 at 07:29 -0500, Jeff Trawick wrote: > > Anything that causes child processes to exit during steady state can > lead to extra child processes *when some requests take a relatively > long time to finish*. now, if i understand correctly "active child processes" != "child proces

[us...@httpd] Re: Re: Default program for CGI

2010-02-15 Thread Maciej Piechotka
On Mon, 2010-02-15 at 15:42 +0530, Nilesh Govindarajan wrote: > On 02/15/2010 02:54 PM, Maciej Piechotka wrote: > > On Sun, 2010-02-14 at 08:50 -0500, Eric Covener wrote: > >> On Sun, Feb 14, 2010 at 7:28 AM, Maciej Piechotka > >> wrote: > >>> Is it possible to specify a handler for files in CGI?

Re: [us...@httpd] apache over ServerLimit processes limit

2010-02-15 Thread Nilesh Govindarajan
On 02/15/2010 05:49 PM, Zdravko Spoljar wrote: hi all, we have busy web site and for last few weeks we have problem with apache processes eat all memory (that is problem, but not topic here). I attempt to control problem by lowering ServerLimit (documentation states that is max number of apache

Re: [us...@httpd] apache over ServerLimit processes limit

2010-02-15 Thread Jeff Trawick
On Mon, Feb 15, 2010 at 7:19 AM, Zdravko Spoljar wrote: > > hi all, > > we have busy web site and for last few weeks we have problem with apache > processes eat all memory (that is problem, but not topic here). > I attempt to control problem by lowering ServerLimit (documentation states > that is

[us...@httpd] apache over ServerLimit processes limit

2010-02-15 Thread Zdravko Spoljar
hi all, we have busy web site and for last few weeks we have problem with apache processes eat all memory (that is problem, but not topic here). I attempt to control problem by lowering ServerLimit (documentation states that is max number of apache processes). ServerLimit is at 75 (confirmed by

[us...@httpd] Re: Re: Default program for CGI

2010-02-15 Thread Maciej Piechotka
On Mon, 2010-02-15 at 15:42 +0530, Nilesh Govindarajan wrote: > On 02/15/2010 02:54 PM, Maciej Piechotka wrote: > > On Sun, 2010-02-14 at 08:50 -0500, Eric Covener wrote: > >> On Sun, Feb 14, 2010 at 7:28 AM, Maciej Piechotka > >> wrote: > >>> Is it possible to specify a handler for files in CGI?

Re: [us...@httpd] Re: Default program for CGI

2010-02-15 Thread Nilesh Govindarajan
On 02/15/2010 02:54 PM, Maciej Piechotka wrote: On Sun, 2010-02-14 at 08:50 -0500, Eric Covener wrote: On Sun, Feb 14, 2010 at 7:28 AM, Maciej Piechotka wrote: Is it possible to specify a handler for files in CGI? I.e. have: SomeDirectiveCGI .pl /usr/bin/perl You can use Action I cannot

[us...@httpd] Re: Default program for CGI

2010-02-15 Thread Maciej Piechotka
On Sun, 2010-02-14 at 08:50 -0500, Eric Covener wrote: > On Sun, Feb 14, 2010 at 7:28 AM, Maciej Piechotka > wrote: > > Is it possible to specify a handler for files in CGI? > > I.e. have: > > > > SomeDirectiveCGI .pl /usr/bin/perl > > You can use Action > I cannot - it is either not installed