Re: [us...@httpd] Port-based vhosts

2009-03-09 Thread Krist van Besien
On Tue, Mar 10, 2009 at 2:24 AM, Charles Sprickman wrote: > So in short, this does work, until I get into the murky area of keeping the > URL consistent in the browser.  For example, let's take "www.foo.com". I > always want visitors to see "www.foo.com" in the browser URL field.  If I > set "UseC

Re: [us...@httpd] Port-based vhosts

2009-03-09 Thread J. Greenlees
Charles Sprickman wrote: > Hello all, > ~snip~ > > > So in short, this does work, until I get into the murky area of > keeping the URL consistent in the browser. For example, let's take > "www.foo.com". I always want visitors to see "www.foo.com" in the > browser URL field. If I set "UseCanonica

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Frank Gingras
John, It seems to have gone through just fine this time. Perhaps gmail got wonky and thought it was spam (based on the content of your response). We'll consider it an anomality for now, and cross our fingers. Frank. John Hudak wrote: Here is what I posted earlier Hello: Running: ps aux

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread John Hudak
Frank: Here is the error message... This is an automatically generated Delivery Status Notification Delivery to the following recipient failed permanently: users@httpd.apache.org Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipien

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread John Hudak
Here is what I posted earlier Hello: Running: ps aux |grep http|grep -v "\(root\|grep\)"|wc -l Yielded: 0 Looking specifically for 'apache' and running: ps -lax Resulted in: (a partial list, the relevant processes) 1 0 4956 4917 20 0 2068 244 - S? 0:00 /usr/lib

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread John Hudak
ok, ty.I'll try to repost my reply and see what happens -J On Tue, Mar 10, 2009 at 12:15 AM, Frank Gingras wrote: > John, > > I'll see if I can find anything specific about your email address. > > Frank > > John Hudak wrote: > >> I started a thread last night, a person replied, I 'replied al

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Frank Gingras
John, I'll see if I can find anything specific about your email address. Frank John Hudak wrote: I started a thread last night, a person replied, I 'replied all' and got a message that my message was interpreted as spam and I would be blocked...I'll see if this reply gets through. John On

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread John Hudak
I started a thread last night, a person replied, I 'replied all' and got a message that my message was interpreted as spam and I would be blocked...I'll see if this reply gets through. John On Tue, Mar 10, 2009 at 12:06 AM, Frank Gingras wrote: > John, > > You mean you cannot create new threads?

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Frank Gingras
John, You mean you cannot create new threads? Frank John Hudak wrote: hmmm anyone know why I am being blocked from posting? Thanks John On Mon, Mar 9, 2009 at 11:33 PM, William A. Rowe, Jr. mailto:wr...@rowe-clan.net>> wrote: Tom Evans wrote: Will no-one kill-list this troub

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread John Hudak
hmmm anyone know why I am being blocked from posting? Thanks John On Mon, Mar 9, 2009 at 11:33 PM, William A. Rowe, Jr. wrote: > Tom Evans wrote: > >> >> Will no-one kill-list this troublesome troll? >> > > Just checked, this has been resolved. Move along folks. > > > --

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread William A. Rowe, Jr.
Tom Evans wrote: Will no-one kill-list this troublesome troll? Just checked, this has been resolved. Move along folks. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.or

Re: [us...@httpd] Port-based vhosts

2009-03-09 Thread Charles Sprickman
On Mon, 9 Mar 2009, Eric Covener wrote: On Mon, Mar 9, 2009 at 9:24 PM, Charles Sprickman wrote: Hello all, I've got "port-based" virtual hosting working, but am having some Does tinkering with UseCanonicalPhysicalPort help? Unless I'm misreading that part of the doc, I would not want to

Re: [us...@httpd] Port-based vhosts

2009-03-09 Thread Eric Covener
On Mon, Mar 9, 2009 at 9:24 PM, Charles Sprickman wrote: > Hello all, > > I've got "port-based" virtual hosting working, but am having some Does tinkering with UseCanonicalPhysicalPort help? -- Eric Covener cove...@gmail.com

[us...@httpd] Port-based vhosts

2009-03-09 Thread Charles Sprickman
Hello all, I've got "port-based" virtual hosting working, but am having some difficulties with enforcing the creation of proper self-referential URLs. In short, I'm using a scheme in one place (and hopefully others) where I have multiple virtual private servers that only have one public IP.

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Mohit Anchlia
iptables change seems too invasive and also access to root is required. I'll be nervous running those commands in our installer scripts. On Mon, Mar 9, 2009 at 3:28 PM, Anthony J. Biacco wrote: > Can't you just install an iptables rule to block connections to 8080? > And then remove it when you'r

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Mohit Anchlia
That's what I thought but it doesn't behave that way. I see that it still try to take in new sessions and sometimes it just hangs (or becomes defunct process) even if there are no sessions in progress. On Mon, Mar 9, 2009 at 3:22 PM, Frank Gingras wrote: > Mohit, > > With a graceful restart, any

RE: [us...@httpd] UNIQUE_ID to tomcat:done

2009-03-09 Thread Jigar Sutaria
Hi, Enable unique_id_module Enable header_module Set the following directive RequestHeader append UNIQUE_ID %{UNIQUE_ID}e -Jigar -Original Message- From: jisut...@cisco.com [mailto:jisut...@cisco.com] Sent: Monday, March 09, 2009 1:58 PM To: users@httpd.apache.org Subject: RE: [us...

RE: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Anthony J. Biacco
Can't you just install an iptables rule to block connections to 8080? And then remove it when you're done. (assuming you're running unix) Block: iptables -A INPUT -p tcp -s 0/0 --dport 8080 -j DROP Pass: iptables -D INPUT -p tcp -s 0/0 --dport 8080 -j DROP -Tony --- Manag

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Frank Gingras
Mohit, With a graceful restart, any workers will stay alive until the KeepAlive timeout is reached, at which point the process will be terminated. If you want them to die faster, lower the KeepAlive value. Frank. Mohit Anchlia wrote: graceful stop doesn't work ..I've tried multiple times. s

Re: [us...@httpd] ErrorLog timestamp format

2009-03-09 Thread Frank Gingras
Jorge, No, the log format cannot be changed for the ErrorLog directive. Jorge Medina wrote: I am using Apache 2.2.11 Is it possible to modify the ErrorLog timestamp format ? Currently, I get something like this: [Mon Mar 09 16:53:18 2009] I would like to get the timestamp following IS

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Mohit Anchlia
graceful stop doesn't work ..I've tried multiple times. sometimes it leaves a defunct process and other times it just hangs even though all the existing requests have been processed. On Mon, Mar 9, 2009 at 12:07 PM, Brian Mearns wrote: > On Mon, Mar 9, 2009 at 3:05 PM, Eric Covener wrote: >> gra

[us...@httpd] testing

2009-03-09 Thread Jonathan Bruce
- Original Message - From: Jonathan Bruce To: users@httpd.apache.org Sent: Monday, March 09, 2009 5:11 PM Subject: testing Please ignore.

[us...@httpd] ErrorLog timestamp format

2009-03-09 Thread Jorge Medina
I am using Apache 2.2.11 Is it possible to modify the ErrorLog timestamp format ? Currently, I get something like this: [Mon Mar 09 16:53:18 2009] I would like to get the timestamp following ISO8601 format, something like -mm-ddTHH:MM:SS [2009-03-18T16:53:18-0400] I can get the

RE: [us...@httpd] UNIQUE_ID to tomcat

2009-03-09 Thread Jigar Sutaria
Hi, Sorry for the abstract info Platform: Windows XP (for now) Apache: 2.2 Tomcat:4.1.39, 5.0 Connector: ajp13 -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, March 09, 2009 1:38 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] UNIQUE_ID to tomcat

Re: [us...@httpd] Compiling single module on windows

2009-03-09 Thread Eric Covener
On Mon, Mar 9, 2009 at 4:45 PM, Jigar Sutaria wrote: > Hi All, > > I want to compile single apache module on windows and not the complete httpd > project how can I do that The mod_perl project has an APXS for windows. -- Eric Covener cove...@gmail.com --

[us...@httpd] Compiling single module on windows

2009-03-09 Thread Jigar Sutaria
Hi All, I want to compile single apache module on windows and not the complete httpd project how can I do that -Jigar

Re: [us...@httpd] UNIQUE_ID to tomcat

2009-03-09 Thread André Warnier
Jigar Sutaria wrote: Hi All, I am using apache's mod_unique_id module to generate the unidque id for the request and I want to pass it to tomcat. Any Idea how to do it -Jigar It might be useful if you told us a bit about your environment, such as which platform, which Apache, which Tomcat

Re: [us...@httpd] UNIQUE_ID to tomcat

2009-03-09 Thread REllis
You may be able to do it by rewriting the id into the URL ( http://xyz.example.com/foo.jsp?unique_id=xxx). Jigar Sutaria 03/09/2009 03:36 PM Please respond to users@httpd.apache.org To cc Subject [us...@httpd] UNIQUE_ID to tomcat Hi All, I am using apache's mod_unique_id mod

[us...@httpd] UNIQUE_ID to tomcat

2009-03-09 Thread Jigar Sutaria
Hi All, I am using apache's mod_unique_id module to generate the unidque id for the request and I want to pass it to tomcat. Any Idea how to do it -Jigar

Re: [us...@httpd] Need assistance setting up a cgi program

2009-03-09 Thread André Warnier
rel...@harte-hanks.com wrote: Unfortunately no. You see FoxPro is an odd beast. It'll allow you to run a script/program without the extension. So from within FoxPro you can type "do c:\temp\appname" and it'll look for appname.prg, then appname.app. So the developers who wrote these apps a

Re: [us...@httpd] Need assistance setting up a cgi program

2009-03-09 Thread REllis
Unfortunately no. You see FoxPro is an odd beast. It'll allow you to run a script/program without the extension. So from within FoxPro you can type "do c:\temp\appname" and it'll look for appname.prg, then appname.app. So the developers who wrote these apps are requesting pages like /cgi/lo

Re: [us...@httpd] Need assistance setting up a cgi program

2009-03-09 Thread Brian Mearns
On Mon, Mar 9, 2009 at 3:40 PM, wrote: > > Hello all, I have an old Windows web system I'm trying to migrate from an > ancient version of Netscape Enterprise Server to Apache 2.2.x.  Most of > the site is static content and I have that working correctly.  However > part of the site is also using

RE: [us...@httpd] RE: [dtiSPAM] - Re: [us...@httpd] MOD_PROXY Reverse Proxy - Email has different SMTP TO: and MIME TO: fields in the email addresses

2009-03-09 Thread Todd Simons
My outlook uses TOFU Thanks, ~Todd -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Thursday, March 05, 2009 10:19 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] RE: [dtiSPAM] - Re: [us...@httpd] MOD_PROXY Reverse Proxy - Email has different SMTP TO: and

[us...@httpd] Need assistance setting up a cgi program

2009-03-09 Thread REllis
Hello all, I have an old Windows web system I'm trying to migrate from an ancient version of Netscape Enterprise Server to Apache 2.2.x. Most of the site is static content and I have that working correctly. However part of the site is also using another ancient technology called FoxWeb which

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Brian Mearns
On Mon, Mar 9, 2009 at 3:05 PM, Eric Covener wrote: > graceful stop? > > -- > Eric Covener > cove...@gmail.com > Dammit, Eric. You beat me by 1 minute. =J -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ ---

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Brian Mearns
On Mon, Mar 9, 2009 at 3:02 PM, Mohit Anchlia wrote: > The problem is that we have F5 before webserver and we want a way to > remove that web server out of service without having to stop apache > and affecting existing connections. So only way is to have apache > listen on socket and F5 do a healt

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Eric Covener
On Mon, Mar 9, 2009 at 3:02 PM, Mohit Anchlia wrote: > The problem is that we have F5 before webserver and we want a way to > remove that web server out of service without having to stop apache > and affecting existing connections. So only way is to have apache > listen on socket and F5 do a healt

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Mohit Anchlia
The problem is that we have F5 before webserver and we want a way to remove that web server out of service without having to stop apache and affecting existing connections. So only way is to have apache listen on socket and F5 do a health check. Other way is using http, which has more overhead. On

[us...@httpd] Re: FW: Problem Compiling Apche Module

2009-03-09 Thread Dan Poirier
See http://httpd.apache.org/docs/2.2/platform/win_compiling.html You have to have Microsoft Visual C++/Studio -- Dan Poirier - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apach

RE: [us...@httpd] FW: Problem Compiling Apche Module

2009-03-09 Thread Jigar Sutaria
I am using ant cpp task to compile it in following way, -Original Message- From: Eric Covener [mailto:cove...@g

Re: [us...@httpd] FW: Problem Compiling Apche Module

2009-03-09 Thread Eric Covener
On Mon, Mar 9, 2009 at 1:49 PM, Jigar Sutaria wrote: > Hi All, > > [cc] > C:\development\opensource\Apache\httpd-2_0_28\modules\loggers\mod_log_config.c:[I > am trying to compile this module and getting following errors] > > [I just downloaded the source code no modification yet and getting this >

RE: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Tom Evans
On Mon, 2009-03-09 at 11:35 -0500, Flowering Weeds wrote: > > > > Subject: Re: [us...@httpd] Validating HTTP requests > > > > > > Brian Mearns wrote: > > > > > Sorry, don't know of anything in particular, but it seems > > > to me that Apache itself would necessarily be doing some > > > amount

[us...@httpd] FW: Problem Compiling Apche Module

2009-03-09 Thread Jigar Sutaria
Hi All, [cc] C:\development\opensource\Apache\httpd-2_0_28\modules\loggers\mod_log_config c:[I am trying to compile this module and getting following errors] [I just downloaded the source code no modification yet and getting this error. 2_0_28] [cc] Error E2141 C:\development\opensource\Apache\h

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread André Warnier
Mohit Anchlia wrote: But can I tell apache to stop listening on only one port? So if apache is listening on 80, 8080 then ask apache to stop listening on 8080 only. No, not without restarting Apache. But if you explained why you want to do that, then maybe we can provide a better answer than j

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Matus UHLAR - fantomas
On 09.03.09 10:12, Mohit Anchlia wrote: > But can I tell apache to stop listening on only one port? So if apache > is listening on 80, 8080 then ask apache to stop listening on 8080 > only. The most important question you did not answer (or did I miss it?) was: WHY? -- Matus UHLAR - fantomas, u

RE: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Anthony J. Biacco
Only if you when into the config after apache's start, commented out the 8080 Listen line, and reloaded apache. Then to get it listening on 8080 again, you'd have to do the same, just uncommenting the Listen line -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Mohit Anchlia
But can I tell apache to stop listening on only one port? So if apache is listening on 80, 8080 then ask apache to stop listening on 8080 only. On Mon, Mar 9, 2009 at 9:05 AM, Frank Gingras wrote: > Mohit, > > Short answer: no. You must define the Listen directives then start apache. > If you alt

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Frank Gingras
Mohil, Please disregard this troll. He has been known to infect every new thread in this mailing list. Frank. Flowering Weeds wrote: Subject: Re: [us...@httpd] Validating HTTP requests Brian Mearns wrote: Sorry, don't know of anything in particular, but it seems to me that Apa

RE: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Flowering Weeds
> Subject: Re: [us...@httpd] Validating HTTP requests > > > Brian Mearns wrote: > > > Sorry, don't know of anything in particular, but it seems > > to me that Apache itself would necessarily be doing some > > amount of validation on the in coming requests. > > Yes of course :-). But 1/ I'd

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread André Warnier
Mohit Anchlia wrote: Apache 2: Is there a way to tell apache to listen on say port 9000 and then when apache is up ask apache to stop listening on just port 9000? Which means it will keep listening on port 80 or 443. Curiosity : why ? --

Re: [us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Frank Gingras
Mohit, Short answer: no. You must define the Listen directives then start apache. If you alter those, apache must be restarted. Frank Mohit Anchlia wrote: Apache 2: Is there a way to tell apache to listen on say port 9000 and then when apache is up ask apache to stop listening on just port

[us...@httpd] Ask apache to stop listening on only one socket?

2009-03-09 Thread Mohit Anchlia
Apache 2: Is there a way to tell apache to listen on say port 9000 and then when apache is up ask apache to stop listening on just port 9000? Which means it will keep listening on port 80 or 443. - The official User-To-User suppo

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Ivars Strazdiņš
Florent Georges wrote: Ivars Strazdiņš wrote: Ivars, mod_security ? http://www.modsecurity.org/ Thank you. But if I am right, this allows one to plug its own validation rules in Apache (or use built-in rules from ModSecurity but those are oriented to the application scope: inj

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Florent Georges
Ivars Strazdiņš wrote: Ivars, > mod_security ? > http://www.modsecurity.org/ Thank you. But if I am right, this allows one to plug its own validation rules in Apache (or use built-in rules from ModSecurity but those are oriented to the application scope: injection detection, authenticati

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Ivars Strazdiņš
Florent Georges wrote: I am looking for an HTTPD module. I've made a few searches within the repository but didn't find anything. So just in case I missed something... ... mod_security ? http://www.modsecurity.org/ Ivars -

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Florent Georges
Brian Mearns wrote: > Sorry, don't know of anything in particular, but it seems > to me that Apache itself would necessarily be doing some > amount of validation on the in coming requests. Yes of course :-). But 1/ I'd like the validation to be as strict as possible (as you said, I expect Ap

Re: [us...@httpd] Validating HTTP requests

2009-03-09 Thread Brian Mearns
On Mon, Mar 9, 2009 at 7:57 AM, Florent Georges wrote: > >  Hi, > >  I am looking for an HTTPD module.  I've made a few searches > within the repository but didn't find anything.  So just in > case I missed something... > >  I look for a tool to validate HTTP requests.  The perfect > tool would in

[us...@httpd] Validating HTTP requests

2009-03-09 Thread Florent Georges
Hi, I am looking for an HTTPD module. I've made a few searches within the repository but didn't find anything. So just in case I missed something... I look for a tool to validate HTTP requests. The perfect tool would install in the HTTP server and respond to HTTP requests with a validat

Re: [us...@httpd] help with mod_proxy_html, trouble rewriting javascript content

2009-03-09 Thread Krist van Besien
On Fri, Mar 6, 2009 at 3:14 PM, Arne Berner wrote: > Hi, > > I have a  Apache/2.2.8 running as a reverse proxy in front of a .Net > application using Ajax and the gaia framework (gaiaware.net) > I have setup several ProxyHTMLURLMap for to rewrite the responses from > the application, and this work

Re: [us...@httpd] Why am I getting "Waiting for my_site_name"????

2009-03-09 Thread Krist van Besien
On Mon, Mar 9, 2009 at 2:39 AM, John Hudak wrote: > Could someone suggest where the bottle neck might be and how to fix it?  Is > there anyway to monitor the server to see where things are being blocked?? How many apache processes do you start? Is there anything running on your server that migh

[us...@httpd] unresolved external symbol _ap_hook_insert_filter

2009-03-09 Thread cg
error LNK2001: unresolved external symbol _ap_hook_insert_filter hello, i installed an apache with the package apache_2.2.11-win32-x86-openssl-0.9.8i.msi I wrote a module which contains an input filter. when i complie it with VC++6.0 on winXP, i got an error "error LNK2001: unresolved external sym