* 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
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
* 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
* 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
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
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/((?!(
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
* 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
* 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
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
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
* 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
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]:
> >
* 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.
>
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
15 matches
Mail list logo