Re: [us...@httpd] Help: HTTP response has wrong Content-Type field

2009-10-23 Thread Eric Covener
On Fri, Oct 23, 2009 at 8:59 PM, HE Hongmei wrote: > > We added some logs before and after the above calls, and found the > content-type is always right. However, sometimes (not always), in the > response sent by Apache server, Content-Type will be changed to > something like "application/user-con

[us...@httpd] Help: HTTP response has wrong Content-Type field

2009-10-23 Thread HE Hongmei
We developed an Apache module. In the module, when we sent HTTP response, Apache always changed the "Content-Type", sometimes this field is correct, sometime it is truncated, sometimes with an invalid value. We sent response back with the following function, and the response header was always se

Re: [us...@httpd] GET request on a directory

2009-10-23 Thread André Warnier
Eric Covener wrote: If the files listed in DirectoryIndex aren't found (http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex), and your effective value of the Options directive includes "Indexes" (http://httpd.apache.org/docs/2.2/mod/core.html#options), then this module shows you a d

Re: [us...@httpd] GET request on a directory

2009-10-23 Thread Eric Covener
If the files listed in DirectoryIndex aren't found (http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex), and your effective value of the Options directive includes "Indexes" (http://httpd.apache.org/docs/2.2/mod/core.html#options), then this module shows you a directory listing: http

Re: [us...@httpd] GET request on a directory

2009-10-23 Thread Doug McNutt
At 12:45 -0700 10/23/09, Jonathan Zuckerman wrote: >On Fri, Oct 23, 2009 at 12:30 PM, Doug McNutt wrote: >> GET requests which would otherwise look for an index.html file but are set >> up with something like this: >> >> HTTP://domain.com/somedirectory/?C=xx;O=yy >> >> seem to reply with a format

Re: [us...@httpd] GET request on a directory

2009-10-23 Thread Jonathan Zuckerman
On Fri, Oct 23, 2009 at 12:30 PM, Doug McNutt wrote: > GET requests which would otherwise look for an index.html file but are set up > with something like this: > > HTTP://domain.com/somedirectory/?C=xx;O=yy > > seem to reply with a formatted list of directory contents.  Can someone point > me t

[us...@httpd] GET request on a directory

2009-10-23 Thread Doug McNutt
GET requests which would otherwise look for an index.html file but are set up with something like this: HTTP://domain.com/somedirectory/?C=xx;O=yy seem to reply with a formatted list of directory contents. Can someone point me to some documentation for that? Googling for "?C=M;O=a" gets hundr

[us...@httpd] Proxying to multiple servers

2009-10-23 Thread TroubledWater
Have anyone every tried to proxy a request to multiple servers and responding the request from a particular server. The reason why I ask, it would be cool to be able to split product requests, duplicate the requests and send them of to a test farm but dont use the test farm response. Any ideas

RE: [us...@httpd] Increase Logging

2009-10-23 Thread Hickey, Tom
>The one thing that concerns me from an Apache point of view >is that upgrading from 2.2.x to 2.2.later-x shouldn't break >your applications. Even third-party binaries, provided they >use only public APIs and don't access private interfaces. >So it would indeed be good to know what's changed in yo

Re: [us...@httpd] Increase Logging

2009-10-23 Thread Nick Kew
Hickey, Tom wrote: Yes this is related to a question I posted on another thread and I understand that SOAPISAP.dll is not an Apache product. But again I am trying to determine why this DLL works with version 2.2.4 and not with 2.2.14. The DLL has not changed, I am using the same DLL so somet

RE: [us...@httpd] Increase Logging

2009-10-23 Thread Hickey, Tom
Andre Per your questions Yes I added ScriptLog "logs/cgi_log.log" to httpd.conf but no file is created. I agree that "HSE_REQ_GET_IMPERSONATION_TOKEN is not supported" is pretty self-explanatory but from what I can tell HSE_REQ_GET_IMPERSONATION_TOKEN had never been supported by win32/mod_isapi

Re: [us...@httpd] able to start one virtual host but not all of them!!!

2009-10-23 Thread khalid touati
Thanks owen!! 2009/10/23 Boyle Owen > I'm not familiar with your linux distro, but I suspect that > /usr/sbin/apache2 is the apache binary and that by starting it directly > you get a default config (do "/usr/sbin/apache2 -V" to find out where). > > On the other hand, /etc/init.d/apache2 is pro

Re: [us...@httpd] Increase Logging

2009-10-23 Thread André Warnier
Tom, 1) did you try : http://httpd.apache.org/docs/2.2/mod/mod_cgi.html#scriptlog (The idea is : if Apache really is seeing this dll as a cgi application, then maybe it also logs data about the request and the response, which might help. Or not, but without trying, it is difficult to say.) 2

RE: [us...@httpd] Increase Logging

2009-10-23 Thread Hickey, Tom
Yes this is related to a question I posted on another thread and I understand that SOAPISAP.dll is not an Apache product. But again I am trying to determine why this DLL works with version 2.2.4 and not with 2.2.14. The DLL has not changed, I am using the same DLL so something in Apache has ch

Re: [us...@httpd] Increase Logging

2009-10-23 Thread André Warnier
Hickey, Tom wrote: Andre Thank you for your comments but I felt pretty confident stating that it was not a script problem because I do not have any scripts in my cgi directory. The actual issue is a security issue on my WIN XP box: [Thu Oct 22 11:02:56 2009] [warn] [client 192.168.0.3] ISAPI:

Re: [us...@httpd] xampp-control suggestion: bring running instance to front

2009-10-23 Thread Eric Covener
On Fri, Oct 23, 2009 at 8:19 AM, David Balažic wrote: > (running xampp-1.7.1 on Windows XP Pro SP3) > That's not developed here at the Apache Software Foundation. -- Eric Covener cove...@gmail.com - The official User-To-User

[us...@httpd] xampp-control suggestion: bring running instance to front

2009-10-23 Thread David Balažic
Hi! (running xampp-1.7.1 on Windows XP Pro SP3) I just run xampp-control.exe and it shows a dialog: --- XAMPP Control --- ERROR: XAMPP is already running --- OK Cancel --- A few items: - both OK a

RE: [us...@httpd] Increase Logging

2009-10-23 Thread Hickey, Tom
Andre Thank you for your comments but I felt pretty confident stating that it was not a script problem because I do not have any scripts in my cgi directory. The actual issue is a security issue on my WIN XP box: [Thu Oct 22 11:02:56 2009] [warn] [client 192.168.0.3] ISAPI: ServerSupportFuncti

Re: [us...@httpd] Increase Logging

2009-10-23 Thread André Warnier
Hickey, Tom wrote: Thanks Nick, I did Google the error and it pointed me to possible errors in my scripts but I verified there wasn't a problem there. Try : http://httpd.apache.org/docs/2.2/mod/mod_cgi.html#scriptlog A "Premature end of scripts headers" *is* your cgi-bin script crashing or se

RE: [us...@httpd] able to start one virtual host but not all of them!!!

2009-10-23 Thread Boyle Owen
I'm not familiar with your linux distro, but I suspect that /usr/sbin/apache2 is the apache binary and that by starting it directly you get a default config (do "/usr/sbin/apache2 -V" to find out where). On the other hand, /etc/init.d/apache2 is probably a shell-script that defines a different co