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

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

2012-11-13 Thread Igor Cicimov
You have probably put the python script in wrong directory. According to this: http://www.editrocket.com/articles/perl_apache_mac.html the default cgi one on OSX is */Library/WebServer/CGI-Executables * On Wed, Nov 14, 2012 at 3:19 PM, Tim Johnson wrote: > * Tim Johnson [121113 19:16]: > >

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

2012-11-13 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. > > I presume that I need a different virtualhost and scriptalias setup, > but am not sure how to accomplish this. >

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

2012-11-13 Thread Tim Johnson
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. I presume that I need a different virtualhost and scriptalias setup, but am not sure how to accomplish this. URLs to documentation on this subject may suffi