[us...@httpd] SSI Rejection

2009-12-30 Thread Wesley Stupar
I am trying to get SSI working on apache2 on Ubuntu Linux. Even with the simple file titled testssi.shtml- html body Some HTML text. /body html I get this in the error_log: [Wed Dec 30 16:53:53 2009] [error] [client 192.168.1.107] (8)Exec format error: exec of

Re: [us...@httpd] SSI Rejection

2009-12-30 Thread Eric Covener
On Wed, Dec 30, 2009 at 12:28 PM, Wesley Stupar comp...@roadrunner.com wrote: [Wed Dec 30 16:53:53 2009] [error] [client 192.168.1.107] (8)Exec format error: exec of '/usr/local/apache2/htdocs/testssi.shtml' failed How have you told Apache to execute the SHTML instead of just parsing it for

RE: [us...@httpd] SSI Rejection

2009-12-30 Thread Wesley Stupar
Well, I guess that is my problem. I have studied the following: http://httpd.apache.org/docs/2.2/howto/ssi.html http://www.maths.ox.ac.uk/help/faqs/www/ssi http://eregie.premier-ministre.gouv.fr/manual/howto/ssi.html#conclusion But I don't know what you mean by How have you told Apache to

Re: [us...@httpd] SSI Rejection

2009-12-30 Thread Eric Covener
On Wed, Dec 30, 2009 at 12:47 PM, Wesley Stupar comp...@roadrunner.com wrote: Well, I guess that is my problem. I have studied the following: http://httpd.apache.org/docs/2.2/howto/ssi.html http://www.maths.ox.ac.uk/help/faqs/www/ssi

[us...@httpd] Re: SSI Rejection

2009-12-30 Thread LuKreme
On 30-Dec-2009, at 10:47, Wesley Stupar wrote: But I don't know what you mean by How have you told Apache to execute the SHTML. How do you do that? Well, these are the shtml lines in my httpd.conf file: $ grep shtml /etc/httpd/httpd.conf AddType text/html .shtml AddHandler

RE: [us...@httpd] mod_rewrite + mod_headers :How to set Cache instructions for Rewritten .swf content only ?

2009-12-30 Thread Manoj Samtani
You can use the following code to cache only .swf files: FilesMatch *.swf$ Header set 604800 public must-revalidate /FilesMatch regards Manoj Date: Thu, 10 Dec 2009 17:53:43 -0800 From: abap...@yahoo.com To: users@httpd.apache.org Subject: [us...@httpd] mod_rewrite + mod_headers :How to set

RE: [us...@httpd] Re: SSI Rejection

2009-12-30 Thread Wesley Stupar
All right! I was trying to set up CGI, and I had AddHandler cgi-script .sh in the httpd.conf file. When I reverted to SSI, I mistakenly changed to AddHandler cgi-script .shtml Which should have been AddHandler server-parsed .shtml which I have now changed it to, and the SSI now works. My

[us...@httpd] Getting HTTP Headers from CGI program

2009-12-30 Thread Tushar Joshi
Hi, I'm trying to get a HTTP header from my CGI program, in this particular example it's SOAPAction, however I'm not sure how to do this as you can only getenv some of the headers. Is there a way to get all the headers sent from the client or a way in maybe the apache config to set the

[us...@httpd] Script GET /cgi-bin/foo doesn't apply to all GET requests

2009-12-30 Thread Michael Stillwell
The documentation at http://httpd.apache.org/docs/2.2/mod/mod_actions.html#script says that Script with a method of GET will only be called if there are query arguments present. Is there any way to work around this limitation? I would like a GET request for e.g. http://example.com/user/foo