Re: [us...@httpd] Apache port help

2009-03-06 Thread André Warnier
Brian Mearns wrote: [...] +1 on all the rest, and add "OpenXML" to the list. Anyway, those are both of my pennies on the topic. Sounds like the OP was able to solve his problem, so that's good. Although he never bothered to tell us how he solved it, but I guess that is too much to ask ? ---

[us...@httpd] Connect to the First Byte = Slow

2009-03-06 Thread Dominique SA
Hi, Using pingdom.com, I've tested the connect to first byte latency speed and it's pretty slow on a dedicated box running FreeBSD 7.0, Apache 2.2 with a few virtual named host on a 10mbps connection. It varies between 2.9 and 4.5 seconds. Is there any tweak that can be done or anything that be add

[us...@httpd] how to debug a module?

2009-03-06 Thread robert rottermann
Hi there, please forgive me if this sounds stupid.. There is an apache modul I do not unterstand therefore I would like to load it in a debugger, so that I can step trough it at runtime. in a former life (which lasted up to 2000) i used to be proficient with c. but this is long ago and on windows

Re: [us...@httpd] how to debug a module?

2009-03-06 Thread anson ho
I use fprintf(stderr,"a debug message"); It is stupid but it works in all platforms. On Fri, Mar 6, 2009 at 5:37 PM, robert rottermann wrote: > Hi there, > > please forgive me if this sounds stupid.. > > There is an apache modul I do not unterstand > therefore I would like to load it in a debug

Re: [us...@httpd] how to debug a module?

2009-03-06 Thread William A. Rowe, Jr.
robert rottermann wrote: now could anybody give me hints or pointers to tutorials on how to develop/debug apache modules under linux? You probably want to become familiar with gdb. In the case of httpd, you want to learn the -X flag to avoid forking off the child processes (run only one which

[us...@httpd] Logs: two different time zone?

2009-03-06 Thread Jean-Yves Avenard
Hello I'm very puzzled with this one as I have no idea whatsoever with what could be happening. Server is located in SF, Eastern Standard Time. Every once in a while, I will get time in the +11 timezone in the logs, like this: Like this: 38.100.x.x - - [06/Mar/2009:01:52:07 -0800] "GET /aboutus

RE: [us...@httpd] Apache port help

2009-03-06 Thread Tim Ford
Hello, my boss told me its okay to leave the web address with the port attached. Tim From: André Warnier [mailto:a...@ice-sa.com] Sent: Fri 3/6/2009 2:57 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help Brian Mearns wrote: [...] +1 on

Re: [us...@httpd] Logs: two different time zone?

2009-03-06 Thread Eric Covener
On Fri, Mar 6, 2009 at 7:17 AM, Jean-Yves Avenard wrote: > Hello > > I'm very puzzled with this one as I have no idea whatsoever with what could > be happening. > > Server is located in SF, Eastern Standard Time. > > Every once in a while, I will get time in the +11 timezone in the logs, like > th

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

2009-03-06 Thread Arne Berner
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 works great for html content and javascript embeded in the html. Bu

Re: [us...@httpd] Apache port help

2009-03-06 Thread John Hudak
Seems to me this whole rant got started because someone who appears to be well indoctrinated in the M$ world thought that Apache was somehow a lesser program because it did have a mechanism to support port sharing. That is a discussion for the developers thread and if you feel strongly about it, t

Re: [us...@httpd] Apache port help

2009-03-06 Thread Matus UHLAR - fantomas
On 06.03.09 07:41, Tim Ford wrote: > Hello, my boss told me its okay to leave the web address with the port > attached. You can still run it on different IP on the same host, but you must configure IIS not to listen on that IP (and apache to listen on it). -- Matus UHLAR - fantomas, uh...@fanto

Re: [us...@httpd] Apache port help

2009-03-06 Thread Matus UHLAR - fantomas
> > IIS is therefore the only entity that can > > redirect the request to another port. On 05.03.09 14:12, Flowering Weeds wrote: > One should define terms IIS6, 7, 7.5 > > do not redirect or send responses > > http.sys does this - and also does for > > any other Windows process > > that us

[us...@httpd] printing an httpd.conf file

2009-03-06 Thread Hindley Nick
hello all, I've inherited a system with a baroque set of configuration files - nested includes etc. I've been trying to unpick this and have found a perl module Config::ApacheFormat which looks powerful enough to be able to to the parsing. However, my perl isnt good enought to be able to hack

[us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Virendra Malushte
Hi, PFB the error details; -- 43 > ./apachectl start httpd: Syntax error on line 58 of /phr- nu_1/noticecast/Apache2210InstallNew_surjit/conf/httpd.conf: Cannot load/s7dev/p1/uda/Apache/Apache2210_Hpux/loginmod22

Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Frank Gingras
Virendra Malushte wrote: Hi, PFB the error details; -- 43 > ./apachectl start httpd: Syntax error on line 58 of /phr- nu_1/noticecast/Apache2210InstallNew_surjit/conf/httpd.conf: Cannot load/s7dev/p1/uda/Apache

[us...@httpd] rewrite based on POST data?

2009-03-06 Thread Anthony J. Biacco
Anybody know if there's a way for apache's rewrite to check POST data? I need to rewrite a url based on a param=value in the POST. Thanx, -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com

Re: [us...@httpd] rewrite based on POST data?

2009-03-06 Thread Frank Gingras
Anthony J. Biacco wrote: Anybody know if there's a way for apache's rewrite to check POST data? I need to rewrite a url based on a param=value in the POST. Thanx, -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www

Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Virendra Malushte
Hi Frank, I have rechecked the path and the LoadModule statement, both match. Plesae refer to below error; --- httpd: Syntax error on line 75 of /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf: Cannot load /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl in

Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Frank Gingras
Hello, Give us the output from ls -al /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl Also, what OS is this? If you're running CentOS or Fedora, try turning off selinux. Frank Virendra Malushte wrote: Hi Frank, I have rechecked the path and the LoadModule statement, both match. Plesae

Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Eric Covener
On Fri, Mar 6, 2009 at 1:03 PM, Frank Gingras wrote: > Hello, > > Give us the output from ls -al > /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl And maybe the ldd (or equivalent) output, too -- Eric Covener cove...@gmail.com

Re: [us...@httpd] Apache port help

2009-03-06 Thread André Warnier
Tim Ford wrote: Hello, my boss told me its okay to leave the web address with the port attached. Thank you. At least now we won't die stupid. Smart boss. :-) - The official User-To-User support forum of the Apache HTTP Serve

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

2009-03-06 Thread Flowering Weeds
> > 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) Why? One already has http.sys, the safest HTTP usage today! Run either Apache or IIS 7 no need for both is there? >> I get the following respons

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

2009-03-06 Thread Arne Berner
That was not the question. But when you ask... - The apache has a SUN Access Manager plugin (not supported on IIS7) - The apache is running mod_security. Is there a equivalent om IIS? so back to the question about rewrite of javascript requests... 2009/3/6 Flowering Weeds : > > >> >> I have a  A

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

2009-03-06 Thread William A. Rowe, Jr.
Arne Berner wrote: I get the following response from the application: I would like to rewrite the /MyApp/ to /myproxyurl/ as I've done in the html responses with the following ProxyHTMLURLMap: That's in the request body... please have a look at mod_substitute (2.2) (soon to become mod_sed in

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

2009-03-06 Thread Flowering Weeds
> > That was not the question. But when you ask... Hey thanks for the answer. > - The apache has a SUN Access Manager plugin (not supported on IIS7) I don't use this but since one is using IIS 7 I looked at http://docs.sun.com/app/docs/doc/819-4669/adrab?a=view How Access Manager W

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

2009-03-06 Thread Brian Mearns
On Fri, Mar 6, 2009 at 5:02 PM, Flowering Weeds wrote: > >> >> That was not the question. But when you ask... > > Hey thanks for the answer. > >> - The apache has a SUN Access Manager plugin (not supported on IIS7) > > I don't use this but since one is using IIS 7 I looked at > > http://docs.sun.c

RE: [us...@httpd] rewrite based on POST data?

2009-03-06 Thread Anthony J. Biacco
Thanx, I ended up using a rewriterule with [P] to proxy it to another vhost, that kept the POST intact. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Frank G

Re: [us...@httpd] Logs: two different time zone?

2009-03-06 Thread Jean-Yves Avenard
Hi.. 2009/3/7 Eric Covener > mod_php setting "TZ" environment variable? > > that was it !!! thank you!

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

2009-03-06 Thread Florian S.
Hi, I'm not a pro, but my way would be patching/editing mod_proxy_html.c for myself: Searching for 'text/html' would lead you to line 1024, where an error message is set for a content type not being html or xhtml+xml. If a message is set, it will end up processing by ap_remove_output_filter some