Please disregard.
thanks
--
Tim Johnson
http://www.tj49.com
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org
* Tim Johnson [150330 17:56]:
> On ubuntu 14.04, I have made the following modifications to
>
> What else to I need to do?
>
> thanks
I should had added that it appears that cgi-bin may be be enabled
at all. If I set the ScriptAlias value back to the default -
/usr/lib/cgi-
On ubuntu 14.04, I have made the following modifications to
/etc/apache2/conf-available :
[code begins]
Define ENABLE_USR_LIB_CGI_BIN
Define ENABLE_USR_LIB_CGI_BIN
#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /cgi-bin/ /home/http/r
* Igor Cicimov [130227 07:11]:
> On 27/02/2013 11:49 AM, "Tim Johnson" wrote:
> Try adding
> Options +ExecCGI
Hi Again Igor :
As I responded before, that was not the solution.
I changed
AddHandler fcgid-script .fcgi
AddHandler fastcgi-script .fcgi
And now
* Igor Cicimov [130227 07:11]:
> On 27/02/2013 11:49 AM, "Tim Johnson" wrote:
> > new to fastcgi (note: fastcgi is enabled).
> >
> Try adding
> Options +ExecCGI
Thanks Igor, but that didn't change things (had tried in past)
regards
--
Tim
tim at tee jay
Using apache on Mac OSX 10.7.
I have a test django application with a executable file named
index.fcgi (permissions = 755)
My .htaccess looks like this :
#
AcceptPathInfo On
AddHandler fcgid-script .fcgi
RewriteEngine on
RewriteCond %{RE
* 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 c
* 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 "/U
* 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
* 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
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
* 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 h
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
Hello :
The message is being sent to this mailing list because I may have
participated in a thread recently that may still be active.
I will be traveling from February 8, 2012 until February 20 2012 and
will not receive email at this address during that time.
regards
--
Tim
tim at tee jay for
* Igor Cicimov [120131 13:58]:
> You can use meta tag in your head section to call your script for example
>
> http://yourdomain.com/path/to/your/cgi-script.py";>
>
> which will call your script immediately on index.html load.
>
> Or you can also use java script redirect in the body tag of inde
* Igor Cicimov [120130 18:11]:
> >
> > If I eliminate it, then I just a get an index page..
>
>
> Correct, and in that index.html page you call or redirect to your pyton
> script. That's the proper way to do it so you keep your web pages structure
> separate from your cgi scripts that live in a
* Igor Cicimov [120130 16:10]:
> Plus if the journalLoader.py is a script then the directive
>
> DirectoryIndex journalLoader.py
If I eliminate it, then I just a get an index page..
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com
--
* Igor Cicimov [120130 16:10]:
> You need to tell apache you want it to handle the pyton files as scripts
> not as html/text files.
>
> AddHandler cgi-script .cgi .pl .py
>
> You (or someone else) have probably done that on linux but you are not
> aware or have forgotten about it.
Yup. Here we
* Igor Cicimov [120130 16:10]:
> You need to tell apache you want it to handle the pyton files as scripts
> not as html/text files.
>
> AddHandler cgi-script .cgi .pl .py
>
> You (or someone else) have probably done that on linux but you are not
> aware or have forgotten about it.
Thanks Igor,
To the best to my memory, the following .htaccess worked on linux, but
on OSX, the result is that the browser gives me the text of the
script, rather the output of the script.
FYI: The script is fully functional when requested via cgi-bin.
# .htaccess
RewriteEngine On
DirectoryIndex journalLoader.
I have an internal site at the following file path:
/home/http/kbmls/ and since /home/http is the document root, the
site is referenced as follows: http://bart.johnson.com/kbmls.
bart.johnson.com is my internal domain (locally resolved host).
The default page is kbmlsLoader.py, which is symlinked
* Lee [110302 23:18]:
> Sometimes you refer to the Perl scripts with absolute paths,
> sometimes relative. I do no know what dir your .htaccess is in, but
> please check the paths.
>
> It also seems that you changed the .htaccess references to .pl
> extension to .py -- was there a reason for that
* Tim Johnson [110302 15:19]:
> * David Christensen [110302 15:01]:
> > On 03/02/2011 03:22 PM, Tim Johnson wrote:
> > >I'm attempting to use .htaccess to make an executable python script
> > >as the default page for a directory.
> >
> obviously still
* David Christensen [110302 15:01]:
> On 03/02/2011 03:22 PM, Tim Johnson wrote:
> >I'm attempting to use .htaccess to make an executable python script
> >as the default page for a directory.
>
> I recently wanted to have *all* hits for a particular subtree to go
> t
I'm using apache 2 on mint 10 (ubuntu 10 derivative)
I'm attempting to use .htaccess to make an executable python script
as the default page for a directory.
My document root is at /home/http
I have an .htaccess file at /home/http/kbmls
I have a script - index.py at /home/http/kbmls
/home/http/k
* Igor Cicimov [101110 16:55]:
> Your RewriteRule doesn't make much sense though. It will cause to redirect
> http://localhost/reg to pyindex.py/reg (plus append the query string if any)
> and I don't see the purpose of this redirect. What are you really trying to
> achieve here?
>
> If the idea
* Igor Cicimov [101110 15:41]:
> "AllowOverride all" so maybe some redirection in .htaccess file in that
> directory causing infinite loop?
>
> Try setting it to None instead and see if the problem goes away. Then you'll
> know the problem is in the .htaccess file for sure.
Yes, that solves tha
I'm using apache2 on ubuntu 10.04.
I am a programmer familiar with the command line, but
new to fine-tuning apache.
I'm getting following error message:
"""
Request exceeded the limit of 10 internal redirects due to probable
configuration error. Use 'LimitInternalRecursion' to increase the
limit i
* Eric Covener [101109 14:55]:
> On Tue, Nov 9, 2010 at 3:08 PM, Tim Johnson wrote:
<..> > Is it possible to to set directory files names specific to the
> > directory:
> > Example::
>
> of course you can manually do this by using DirectoryIndex inside of
> o
Platform is ubuntu 10.04
in my /etc/apache2/mods-available/dir.conf,
I have the following ::
DirectoryIndex index.html index.php index.py index.cgi index.pl index.xhtml
index.htm
Is it possible to to set directory files names specific to the
directory:
Example::
for
mydomain/foo1 I could ha
* Eric Covener [101101 04:20]:
> > Options +ExecCGI Indexes FollowSymLinks MultiViews
> manual says don't mix +/- and non +/-. This doesn't do what you expect.
You're correct.
It works now.
Thank you!
--
Tim
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com
* Eric Covener [101031 17:14]:
> > """
> > You don't have permission to access /index.py on this server
> > """
>
> Check your error log for a more informative message.
Yeah right. :) why didn't I remember to do that?
From /var/log/apache2/error.log (on ubuntu 10.04)
Options ExecC
* Tim Johnson [101031 15:05]:
> This questions concerns apache(2) on ubuntu 10.04 and apache on
> centOS (OS version 7?)
> Using the following apache directive:
>ScriptAlias /reg/ /home/http/py/
>
> AllowOverride all
> Options +ExecCGI -MultiViews
This questions concerns apache(2) on ubuntu 10.04 and apache on
centOS (OS version 7?)
Using the following apache directive:
ScriptAlias /reg/ /home/http/py/
AllowOverride all
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
* Tim Johnson [100807 17:10]:
> I'm using apache2 on ubuntu 10.04.
> Some CGI applications on my own desktop are no long working.
> The error message stored in the logfile will be something like this:
> """
> (2)No such file or directory: Could not open
I'm using apache2 on ubuntu 10.04.
Some CGI applications on my own desktop are no long working.
The error message stored in the logfile will be something like this:
"""
(2)No such file or directory: Could not open password file:
/usr/local/apache/passwords
File does not exist: /home/http/error_page
Thanks to Joshua and Dragon, all is good now.
cheers
tim
--
Tim Johnson <[EMAIL PROTECTED]>
Palmer, Alaska, USA
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apac
tAlias /cgi-bin/ "/mydoc/root/cgipath/" ## quoted and trailing '/'
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
I'm much obliged for the help.
tim
-
ion?
Is there documentation on this subject?
thanks
Tim
--
Tim Johnson <[EMAIL PROTECTED]>
Palmer, Alaska, USA
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/usersli
s-enabled and then by able to access it as
http://localhost/cgi-bin/script.extension ?
I don't necessarily have to change the document root, I can handle symlinks
being overwritten by an upgrade
apache doesn't seem recognize /var/www/cgi-bi
e made to them, and not http.conf.
Pointer/URLs to documentation on this subject are invited too.
thanks
tim
--
Tim Johnson <[EMAIL PROTECTED]>
Palmer, Alaska, USA
-
The official User-To-User support forum of the Apache HTTP Serv
ttpd.conf.
Can I add that variable and will it have the same effect .
Thanks
Tim
--
Tim Johnson <[EMAIL PROTECTED]>
Palmer, Alaska, USA
-
The official User-To-User support forum of the Apache HTTP Server Project.
S
if any is required?
Pointers to relevant documentation is invited.
thank you
tim
--
Tim Johnson <[EMAIL PROTECTED]>
http://www.alaska-internet-solutions.com
-
The official User-To-User support forum of the Apa
45 matches
Mail list logo