Re: [EMAIL PROTECTED] custom-error with httpd and tomcat

2008-06-02 Thread Thorsten Scherler
On Mon, 2008-06-02 at 09:13 -0400, Eric Covener wrote: > On Mon, Jun 2, 2008 at 8:40 AM, Thorsten Scherler > <[EMAIL PROTECTED]> wrote: > > > ErrorDocument 503 "error 1" > > ErrorDocument 500 "error 2" > > > > Now if I do not start tomcat I see the "error 1" page like I expected > > with the heade

Re: [EMAIL PROTECTED] ForceType text/plain works for PHP but not for SSI

2008-06-02 Thread Joshua Slive
On Mon, Jun 2, 2008 at 8:13 PM, Ali, Saqib <[EMAIL PROTECTED]> wrote: > Hi Joshua, > > This is what I have: > > SetHandler server-parsed > AddType text/html .shtml > AddOutputFilter INCLUDES .shtml > > > And this doesn't seem to help. > > saqib > http://doctrina.wordpress.com/ > > On Mon, Jun 2, 20

Re: [EMAIL PROTECTED] ForceType text/plain works for PHP but not for SSI

2008-06-02 Thread Ali, Saqib
Hi Joshua, This is what I have: SetHandler server-parsed AddType text/html .shtml AddOutputFilter INCLUDES .shtml And this doesn't seem to help. saqib http://doctrina.wordpress.com/ On Mon, Jun 2, 2008 at 4:53 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > Probably because you are using AddTyp

Re: [EMAIL PROTECTED] ForceType text/plain works for PHP but not for SSI

2008-06-02 Thread Joshua Slive
On Mon, Jun 2, 2008 at 7:15 PM, Ali, Saqib <[EMAIL PROTECTED]> wrote: > I have the following defined for port 81 on a web server that has > WebDAV enabled. This forces the httpd to send PHP files "unparsed". > >DocumentRoot /var/www/html/ > >DAV On > >ForceType text/plain >

[EMAIL PROTECTED] ForceType text/plain works for PHP but not for SSI

2008-06-02 Thread Ali, Saqib
I have the following defined for port 81 on a web server that has WebDAV enabled. This forces the httpd to send PHP files "unparsed". DocumentRoot /var/www/html/ DAV On ForceType text/plain However it doesn't seem to work for Server Side Includes (SSI). How so? saq

Re: [EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-02 Thread André Warnier
[EMAIL PROTECTED] wrote: Check the Application Event Log. No entries are made in the application log when I attempt to start the service. Marc Scott Hi. I am running Apache2 on several Windows XP SP2 stations, usually as a service, under various Windows national versions, and have no pr

[EMAIL PROTECTED] "redirect to maintenance page"

2008-06-02 Thread Sagar
Hi All, I need to make configuration on Apache installed on Windows Server 2003. To redirect to maintenance page. I have three application A, B and C. I access these application as http:/// for example http:///A I have made a common maintenance redirect for error 404 and 500 and this redirects when

Re: [EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-02 Thread marc . scott
and I forgot to mention that I did run netstat just to make sure nothing was listening on port 80. nothing is. Marc - This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any fin

Re: [EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-02 Thread marc . scott
> Check the Application Event Log. No entries are made in the application log when I attempt to start the service. Marc Scott - This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale

Re: [EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-02 Thread William A. Rowe, Jr.
[EMAIL PROTECTED] wrote: The only 2 log entries in the system log are... The service was successfully sent a start control. The service entered the stopped state. Check the Application Event Log. - The official User-To-User

[EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-02 Thread marc . scott
This is the error message I receive when I try to start either version 20. or 2.2 of HTTP server (as a service) on my WinXP SP2 workstation. I have tried to uninstall/reinstall several times with no success. I am using the 'no_ssl' version. In searching around I found one possible solution is to

[EMAIL PROTECTED] Writing my own DAV module

2008-06-02 Thread Marcin Lewandowski
Hi, I write a piece of software, it's a ruby on rails webapp. The main part of my app is database organized a bit like a virtual file system. I store that in MySQL. There could be many accounts (each with own DB), and each account can have many users with different permissions. I succesfull

[EMAIL PROTECTED] Ouch! malloc failed in malloc_block()

2008-06-02 Thread David Díaz Díaz
Hi All: I have a lot of the follow error messages on my apache error log file: Ouch! malloc failed in malloc_block()Ouch! malloc failed in malloc_block()FATAL: erealloc(): Unable to allocate 22528 bytes[Mon Jun 2 11:29:26 2008] [error] (12)Not enough space: fork: Unable to fork new pro

Re: [EMAIL PROTECTED] AddOutputFilterByType

2008-06-02 Thread Joshua Slive
On Mon, Jun 2, 2008 at 11:50 AM, Ben Davies <[EMAIL PROTECTED]> wrote: > Sorry, I should have been more explicit: > > How would you implement AddOutputFilterByType for filters created with > ExtFilterDefine? > > Example: > > I have a flac file. I have a custom filter that converts flac files to mp3

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-06-02 Thread amiribarksdale
You are correct--I get that error even after I have disabled mo_rewrite. It must be something else. Amiri Matus UHLAR - fantomas wrote: > >> amiribarksdale <[EMAIL PROTECTED]> writes: >> >> > About the only strange thing in my debug-level error logs is >> > >> > (32)Broken pipe: client stopp

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-06-02 Thread Matus UHLAR - fantomas
> amiribarksdale <[EMAIL PROTECTED]> writes: > > > About the only strange thing in my debug-level error logs is > > > > (32)Broken pipe: client stopped connection before rwrite completed On 30.05.08 10:53, Scott Gifford wrote: > That's an interesting clue. It looks like it is in the middle of a

RE: [EMAIL PROTECTED] AddOutputFilterByType

2008-06-02 Thread Ben Davies
Sorry, I should have been more explicit: How would you implement AddOutputFilterByType for filters created with ExtFilterDefine? Example: I have a flac file. I have a custom filter that converts flac files to mp3 files. If the request contains the header Accept: audio/mp3, how can I ensure tha

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Denis Peuziat
"Krist van Besien" <[EMAIL PROTECTED]> To users@httpd.apache.org cc Subject Re: [EMAIL PROTECTED] problem with perl script and Apache "Krist van Besien" <[EMAIL PROTECTED]> Please respond to : users@httpd.apache.org 02/06/2008 16:31 On Mon, Jun 2, 2008 at 2:44 PM, Octavian Rasnita <[EMAIL

Re: [EMAIL PROTECTED] AddOutputFilterByType

2008-06-02 Thread Joshua Slive
On Mon, Jun 2, 2008 at 10:31 AM, Ben Davies <[EMAIL PROTECTED]> wrote: > Hi Everybody! > > > > I've noticed that the directive AddOutputFilterByType has been deprecated in > Apache 2.1 and later. Does anyone have a suggestion (or a link) on how one > would be able to configure Apache to accomplish

[EMAIL PROTECTED] AddOutputFilterByType

2008-06-02 Thread Ben Davies
Hi Everybody! I've noticed that the directive AddOutputFilterByType has been deprecated in Apache 2.1 and later. Does anyone have a suggestion (or a link) on how one would be able to configure Apache to accomplish the same task without using AddOutputFilterByType on Apache2.2? Cheers, B

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Krist van Besien
On Mon, Jun 2, 2008 at 2:44 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > At the beginning of the output generated by your script, you should do: > > print "Content-Type: text/html\n\n"; Exactly. A minimal script would be: #!/usr/bin/perl print "Content-type: text/html\n\n"; print < Hello

Re: [EMAIL PROTECTED] custom-error with httpd and tomcat

2008-06-02 Thread Eric Covener
On Mon, Jun 2, 2008 at 8:40 AM, Thorsten Scherler <[EMAIL PROTECTED]> wrote: > ErrorDocument 503 "error 1" > ErrorDocument 500 "error 2" > > Now if I do not start tomcat I see the "error 1" page like I expected > with the header: > Status=Service Temporarily Unavailable - 503 > > However when my c

[EMAIL PROTECTED] custom-error with httpd and tomcat

2008-06-02 Thread Thorsten Scherler
Hello all, I have an application that is build in two tiers, where Apache httpd is before an Apache Tomcat where I execute an Apache Cocoon web app. I tried with ErrorDocument 503 "error 1" ErrorDocument 500 "error 2" Now if I do not start tomcat I see the "error 1" page like I expected with th

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Octavian Rasnita
From: "Denis Peuziat" <[EMAIL PROTECTED]> >>CGI scripts must output a "content-type" header. So when you execute >>them on the command line, the line "content-type: text/html" ought to >>be the first thing written out. If they don't do this they have been >>programmed with a disregard of the CGI st

[EMAIL PROTECTED] Problems with apache behind an ISA server

2008-06-02 Thread Nir Peled
Hello guys, I'm not sure if this is the correct place to ask this but I'll try anyway. I have an apache server running a PHP based wiki site. I added simple authentication that goes through the organizational LDAP to it. >From within the network, the authentication works just fine, but

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Denis Peuziat
"Krist van Besien" <[EMAIL PROTECTED]> To users@httpd.apache.org cc Subject Re: [EMAIL PROTECTED] problem with perl script and Apache "Krist van Besien" <[EMAIL PROTECTED]> Please respond to : users@httpd.apache.org 02/06/2008 13:42 On Mon, Jun 2, 2008 at 12:23 PM, Denis Peuziat <[EMAIL P

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Krist van Besien
On Mon, Jun 2, 2008 at 12:23 PM, Denis Peuziat <[EMAIL PROTECTED]> wrote: > > I can't see any Any what? Can I assume that you were responding to my question whether your scripts wrote a content-type header? (I can't be sure what it was exactly you were reacting to because you choose to "top po

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Denis Peuziat
I can't see any Denis "Krist van Besien" <[EMAIL PROTECTED]> To users@httpd.apache.org cc Subject Re: [EMAIL PROTECTED] problem with perl script and Apache "Krist van Besien" <[EMAIL PROTECTED]> Please respond to : users@httpd.apache.org 02/06/2008 12:20 On Mon, Jun 2, 2008 at 11:

[EMAIL PROTECTED] Apache 1.3.34 not starting as a service in WIN2008 server.

2008-06-02 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Hi All, I have installed Apache 1.3.34 binary in Win2k8 server.When I start Apache,it is not starting. C:\Program Files\Apache Group\Apache>net start Apache The Apache service is starting.. The Apache service could not be started. A system error has occu

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Krist van Besien
On Mon, Jun 2, 2008 at 11:46 AM, Denis Peuziat <[EMAIL PROTECTED]> wrote: > Thanks a lot for your advice. The file shows the html result so I guess > there has been some changes between Apache 2.0.46 and 2.2.3 that prevents > the 2.2.3 to understand the html headers on the page... So the scripts a

RE: [EMAIL PROTECTED] ext_filter + negotiation?

2008-06-02 Thread Ben Davies
Don't know if this helps, but I did the following: ExtFilterDefine TranscodeMP3 intype="audio/flac" outtype="audio/mp3" cmd="flac2mp3" SetOutputFilter TranscodeMP3 AliasMatch "^/(.*)\.mp3$" /flac/lib/$1.flac The above means that if anyone requests "mysong.mp3", they get the file "myson

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-06-02 Thread Denis Peuziat
Thanks a lot for your advice. The file shows the html result so I guess there has been some changes between Apache 2.0.46 and 2.2.3 that prevents the 2.2.3 to understand the html headers on the page... I will look in that direction Thanks again Denis "Octavian Rasnita" <[EMAIL PROTECTED]> To

RE: [EMAIL PROTECTED] Trying to modify Server header for apache 2.2.4 but fails

2008-06-02 Thread Soumendu Bhattacharya
Thanks a lot to all for the insight. There were some websites which were talking that you CAN do it thru mod_headers , but now it seems you cannot do it. Soumendu From: Nir Peled [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2008 9:40 PM To: users@httpd.apache.org Subject: RE: [EM

Re: [EMAIL PROTECTED] cgi script fails

2008-06-02 Thread Krist van Besien
On Sun, Jun 1, 2008 at 2:43 PM, Jayakrishnan M <[EMAIL PROTECTED]> wrote: > Got the reason.. erl interpreter is failing. > Now I'll try to figure out why it is failing. > Thanks for the help. CGI scripts are run with the permissions and the environment of the user the webserver runs as. This means