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

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:

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] 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 LocationMatch ^/(.*).mp3$ SetOutputFilter TranscodeMP3 /LocationMatch AliasMatch ^/(.*)\.mp3$ /flac/lib/$1.flac The above means that if anyone requests

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:46 AM,

[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\Apachenet start Apache The Apache service is starting.. The Apache service could not be started. A system error has

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 post).

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 are

[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 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 standard It

[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 the

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 cocoon app is

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 HTML; html body

[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,

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 the same

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 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

[EMAIL PROTECTED] The apache version 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

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 files.

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 stopped connection

[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

[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

Re: [EMAIL PROTECTED] The apache version 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 Apache version service was successfully sent a start control. The Apache version service entered the stopped state. Check the Application Event Log.

Re: [EMAIL PROTECTED] The apache version 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 apache version 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

[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://server-name/aplication name for example http://server-name/A I have made a common maintenance redirect for

Re: [EMAIL PROTECTED] The apache version 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

[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. VirtualHost x.x.x.x:81 DocumentRoot /var/www/html/ Directory /usr/local/apache/htdocs/ DAV On /Directory ForceType text/plain /VirtualHost

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. VirtualHost x.x.x.x:81 DocumentRoot /var/www/html/ Directory

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 AddType

Hilfe bei Rewrite Rule

2008-06-02 Thread Egeler Torsten
Wie kann ich mit einer RewriteRule folgendes URL-Anfrage umleiten /kinder/spielzeug/reifen-120 nach /erwachsende/werkzeug/rad-120

RE: Hilfe bei Rewrite Rule

2008-06-02 Thread Egeler Torsten
das dachte ich auch, geht aber leider nicht :-( RewriteEngine On RewriteRule ^/kinder/spielzeug/reifen-120 /erwachsende/werkzeug/rad-120 [NE,L] So müsste es gehen. Am 2. Juni 2008 11:32 schrieb Egeler Torsten [EMAIL PROTECTED] gmbh.com: Wie kann ich mit einer RewriteRule folgendes

Re: Hilfe bei Rewrite Rule

2008-06-02 Thread Rainer Sokoll
On Mon, Jun 02, 2008 at 11:36:09AM +0400, Vladislav Vorobiev wrote: Hallo, RewriteEngine On RewriteRule ^/kinder/spielzeug/reifen-120 /erwachsende/werkzeug/rad-120 [NE,L] Ich frage mich immer wieder, warum man bei simplen Redirects gleich mit der mod_rewrite-Keule losschlägt, wo doch das

AW: Hilfe bei Rewrite Rule

2008-06-02 Thread Egeler Torsten
Hallo Rainer, danke für die Antwort, ein Redirect reicht mir auch. Funzt aber ebenfalls nicht Torsten Hallo, RewriteEngine On RewriteRule ^/kinder/spielzeug/reifen-120 /erwachsende/werkzeug/rad-120 [NE,L] Ich frage mich immer wieder, warum man bei simplen Redirects gleich mit der

Re: Hilfe bei Rewrite Rule

2008-06-02 Thread Rainer Sokoll
On Mon, Jun 02, 2008 at 12:11:38PM +0200, Egeler Torsten wrote: danke für die Antwort, ein Redirect reicht mir auch. Funzt aber ebenfalls nicht Was sagt denn ein apachectl configtest? Das Errorlog? Funzt net trifft für unsere Glaskugeln auch zu :-) Rainer