[us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-14 Thread Rex C. Eastbourne
Hello, I am completely new to Apache. I have a static IP address that's being hosted on an Ubuntu server. (I do not own a domain name yet.) I would like to have two versions of a web app on my IP address (let's call it X.X.X.X): test.X.X.X.X production.X.X.X.X Is this possible with Apache? I hav

Re: [us...@httpd] Disable resume transfer file

2009-03-14 Thread budsz
On Sat, Mar 14, 2009 at 9:43 PM, André Warnier wrote: > budsz wrote: >> >> Hi, >> >> I need to know how to configure httpd with "no support resume" when >> transfer file? As far I know httpd support resume by default. >> That's basiclly done with scripting job for example PHP?. But I'am >> really

[us...@httpd] Re: PHP script as Apache filter or "callback"

2009-03-14 Thread Nicholas Sherlock
Brian Mearns wrote: I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the response headers using this script. I know headers can be set in other ways, but in this case, the heders are set using some fairly complex logic which I

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread William A. Rowe, Jr.
Eric Covener wrote: AFAICT it seems like php-as-a-filter is somewhat out of fashion, and might require a rebuild of your PHP mod (if even still supported). It was never apache2handler; it's a different sapi named apache2filter. -

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread Eric Covener
On Sat, Mar 14, 2009 at 9:53 AM, Brian Mearns wrote: > On Sat, Mar 14, 2009 at 7:59 AM, André Warnier wrote: >> Brian Mearns wrote: >>> >>> I've got a PHP script that I want to call for every request under a >>> certain location. Specifically, I want to alter/set the response >>> headers using th

Re: [us...@httpd] Disable resume transfer file

2009-03-14 Thread Eric Covener
On Sat, Mar 14, 2009 at 9:54 AM, budsz wrote: > Hi, > > I need to know how to configure httpd with "no support resume" when > transfer file? As far I know httpd support resume by default. > That's basiclly done with scripting job for example PHP?. But I'am > really wanna figure out this case with

Re: [us...@httpd] JkLogLevel in mod_jk

2009-03-14 Thread Jai
Absolutely. I believe that was the problem I have. I will change my configuration settings. Thanks a lot for your help. On Fri, Mar 13, 2009 at 1:35 PM, Eric Covener wrote: > On Fri, Mar 13, 2009 at 11:21 AM, Jai wrote: > > We are running mod_jk 1.2.26 and apache 2.0.63. We have configured > >

Re: [us...@httpd] Disable resume transfer file

2009-03-14 Thread André Warnier
budsz wrote: Hi, I need to know how to configure httpd with "no support resume" when transfer file? As far I know httpd support resume by default. That's basiclly done with scripting job for example PHP?. But I'am really wanna figure out this case with httpd side. And I would really wanna figur

[us...@httpd] Disable resume transfer file

2009-03-14 Thread budsz
Hi, I need to know how to configure httpd with "no support resume" when transfer file? As far I know httpd support resume by default. That's basiclly done with scripting job for example PHP?. But I'am really wanna figure out this case with httpd side. Thank You. -- budsz --

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread Brian Mearns
On Sat, Mar 14, 2009 at 7:59 AM, André Warnier wrote: > Brian Mearns wrote: >> >> I've got a PHP script that I want to call for every request under a >> certain location. Specifically, I want to alter/set the response >> headers using this script. I know headers can be set in other ways, >> but in

Re: [us...@httpd] Apache 2.2.11 Segmentation Fault Solaris 10 Sparc

2009-03-14 Thread Eric Covener
On Sat, Mar 14, 2009 at 8:07 AM, Phil Pinkerton wrote: > System: SunOS 5.10 sun4u sparc Sun-Fire-V210 > Apache Source:httpd-2.2.11 - (httpd -v Apache/2.2.11 (Unix)) > gcc = gcc 3.4 > openssl 0.9.8i > openldap 2.4.11 > Python-2.6 > Subversion 1.5.6 > > After a non-eventful configure & make, make in

Re: [us...@httpd] mod_rewrite help

2009-03-14 Thread André Warnier
Andrea Visinoni wrote: Eric Covener ha scritto: On Thu, Mar 12, 2009 at 6:02 PM, Andrea Visinoni wrote: Hi there, i need to implement url rewrite on a website and i need to obtain something like that: http://site.com/a/ -> index.php?1=a http://site.com/a/b/ -> index.php?1=a&2=b http://site.

[us...@httpd] Apache 2.2.11 Segmentation Fault Solaris 10 Sparc

2009-03-14 Thread Phil Pinkerton
System: SunOS 5.10 sun4u sparc Sun-Fire-V210 Apache Source:httpd-2.2.11 - (httpd -v Apache/2.2.11 (Unix)) gcc = gcc 3.4 openssl 0.9.8i openldap 2.4.11 Python-2.6 Subversion 1.5.6 After a non-eventful configure & make, make install ( as far as I can tell ) Start httpd: httpd -k start -SSL or ap

Re: [us...@httpd] mod_rewrite help

2009-03-14 Thread Andrea Visinoni
Eric Covener ha scritto: On Thu, Mar 12, 2009 at 6:02 PM, Andrea Visinoni wrote: Hi there, i need to implement url rewrite on a website and i need to obtain something like that: http://site.com/a/ -> index.php?1=a http://site.com/a/b/ -> index.php?1=a&2=b http://site.com/a/b/c/ -> index.php?1=

Re: [us...@httpd] PHP script as Apache filter or "callback"

2009-03-14 Thread André Warnier
Brian Mearns wrote: I've got a PHP script that I want to call for every request under a certain location. Specifically, I want to alter/set the response headers using this script. I know headers can be set in other ways, but in this case, the heders are set using some fairly complex logic which I

Re: [us...@httpd] cannot access sites through "localhost" on development computer

2009-03-14 Thread André Warnier
Thomas Johansson wrote: Sorry to get back on this issue. The solution only helped temporarily (for 2 days). Now it appears Windows has changed the host file and deleted the line I added to it. (Perhaps something having to do with permissions, that I didn't change it the right way...?) I don't t

Re: [us...@httpd] 404 when first visit if userdir is mounted using autofs

2009-03-14 Thread Tz-Huan Huang
On Sat, Mar 14, 2009 at 6:07 AM, Justin Pasher wrote: > Tz-Huan Huang wrote: >>> >>> 2) If you request the http://hostname/~username from a browser, get a 404 >>> error, then do an "ls /home", do you see the "username" directory >>> mounted? >>> >> >> Yes. I find that this might be not related to

[us...@httpd] apache balancermember not listening to max connections

2009-03-14 Thread Sander de Boer
Currently I am using a apache 2.2.6 instance with a balancer configuration: BalancerMember ajp://10.0.0.208:8009 route=tomcat01 max=100 smax=80 BalancerMember ajp://10.0.0.228:8009 route=tomcat02 max=100 smax=80 ProxyPass / balancer://patmos/ stickysession=JSESSIONID|jsessionid nofailover=