[users@httpd] [solved] [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Tim Johnson
* Tim Johnson [121113 19:16]: > I have an instance of apache listening on port 8080. > the following URL : > http://localhost:8080/cgi-bin/cgitest.py > returns a Not Found Error. All was revealed when I ran find against httpd.conf FYI : This is an instance of apache started and controlled by

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread hughw
On Wed 14/11/12 15:41 , Tim Johnson t...@akwebsoft.com sent: * Igor Cicimov [121114 13:29]: > On Thu, Nov 15, 2012 at 5:40 AM, Tim Johnson wrote: > > > * Pete Houston [121114 09:38]: > > > If you look in the error log it should tell you precisely which path it > > > is that has not bee

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Tim Johnson
* Igor Cicimov [121114 13:29]: > On Thu, Nov 15, 2012 at 5:14 AM, Tim Johnson wrote: > > > I have made some tweaks to httpd.conf without > > success > > Here's what I have : > > # for port 8080 > > > > DocumentRoot "/Users/http" > > ScriptAlias /cgi-bin/ "/Users/htt

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Tim Johnson
* Igor Cicimov [121114 13:29]: > On Thu, Nov 15, 2012 at 5:40 AM, Tim Johnson wrote: > > > * Pete Houston [121114 09:38]: > > > If you look in the error log it should tell you precisely which path it > > > is that has not been found, ie. after all the aliasing and so forth this > > > will tell

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Igor Cicimov
AddHandler cgi-script .cgi .pl .py in your case for python scripts On Thu, Nov 15, 2012 at 9:16 AM, Igor Cicimov wrote: > > > > On Thu, Nov 15, 2012 at 5:14 AM, Tim Johnson wrote: > >> I have made some tweaks to httpd.conf without >> success >> Here's what I have : >> # for port 8080

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Igor Cicimov
On Thu, Nov 15, 2012 at 5:14 AM, Tim Johnson wrote: > I have made some tweaks to httpd.conf without > success > Here's what I have : > # for port 8080 > > DocumentRoot "/Users/http" > ScriptAlias /cgi-bin/ "/Users/http/run/" > ScriptAliasMatch ^/cgi-bin/((?!(

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Igor Cicimov
On Thu, Nov 15, 2012 at 5:40 AM, Tim Johnson wrote: > * Pete Houston [121114 09:38]: > > If you look in the error log it should tell you precisely which path it > > is that has not been found, ie. after all the aliasing and so forth this > > will tell you precisely where on the filesystem it is

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Tim Johnson
* Pete Houston [121114 09:38]: > If you look in the error log it should tell you precisely which path it > is that has not been found, ie. after all the aliasing and so forth this > will tell you precisely where on the filesystem it is looking for the > content that is not found. Even with the e

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Tim Johnson
* lists-apache [121114 09:26]: > > > Look in your server's error log for the 8080 instance to see where > it's directing the request. > > >- Richard Oh! Good tip... Added the following: ErrorLog "/private/var/log/apache2/error_log" to httpd.conf and restart apache at 8080. Trie

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Pete Houston
If you look in the error log it should tell you precisely which path it is that has not been found, ie. after all the aliasing and so forth this will tell you precisely where on the filesystem it is looking for the content that is not found. HTH, Pete -- Openstrike - improving business through o

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Tim Johnson
I have made some tweaks to httpd.conf without success Here's what I have : # for port 8080 DocumentRoot "/Users/http" ScriptAlias /cgi-bin/ "/Users/http/run/" ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Users/http/run/$1" AllowOve

Re: [users@httpd] mod_proxy_html, HTML rewrite and content compression

2012-11-14 Thread Nick Kew
On 14 Nov 2012, at 15:53, Thomas Eckert wrote: > Is there a way to work around this ? I do want the call to mod_xml2enc to > happen but I also want the reverse proxy to support content compression. That's a lot of correct analysis. The output chain you want is INFLATE;xml2enc;proxy-html;DEFLAT

[users@httpd] Setting up mod_ftp

2012-11-14 Thread Larry Irwin (Work/IMAP)
Hi everyone, I am trying, initially, to set up an anonymously accessed, blind incoming folder using ssl-based ftp. I've downloaded and compiled ftp_mod, configured it and have it working as expected within the local network, but am having issues getting the settings correct for internet access

Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Tim Johnson
* Igor Cicimov [121113 20:03]: > You have probably put the python script in wrong directory. According to > this: right directory for port 80 - since I have scriptaliased for that port setting. > http://www.editrocket.com/articles/perl_apache_mac.html > > the default cgi one on OSX is */Libra

[users@httpd] mod_proxy_html, HTML rewrite and content compression

2012-11-14 Thread Thomas Eckert
Hi folks I'm using apache (2.4.3) as reverse proxy with mod_proxy_html (as delivered with 2.4.3) and encountered an issue using HTML rewriting in combination with content compression, as with the "Accept-Encoding" and "Content-Encoding" HTTP headers. This issue has been encountered by numero