[users@httpd] Test

2018-12-21 Thread Tim Johnson
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

Re: [users@httpd] Scriptalias redirect not working on ubuntu 14.04

2015-03-30 Thread Tim Johnson
* 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-

[users@httpd] Scriptalias redirect not working on ubuntu 14.04

2015-03-30 Thread Tim Johnson
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

Re: [users@httpd] apache prints python code rather than executes (fastcgi)

2013-02-27 Thread Tim Johnson
* 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

Re: [users@httpd] apache prints python code rather than executes (fastcgi)

2013-02-27 Thread Tim Johnson
* 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

[users@httpd] apache prints python code rather than executes (fastcgi)

2013-02-26 Thread Tim Johnson
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

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

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 "/U

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

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 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 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 h

[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

[users@httpd] Traveling/out of office

2012-02-07 Thread Tim Johnson
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

Re: [users@httpd] rewrite engine shows text instead of executes script

2012-01-31 Thread Tim Johnson
* 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

Re: [users@httpd] rewrite engine shows text instead of executes script

2012-01-31 Thread Tim Johnson
* 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

Re: [users@httpd] rewrite engine shows text instead of executes script

2012-01-30 Thread Tim Johnson
* 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 --

Re: [users@httpd] rewrite engine shows text instead of executes script

2012-01-30 Thread Tim Johnson
* 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

Re: [users@httpd] rewrite engine shows text instead of executes script

2012-01-30 Thread Tim Johnson
* 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,

[users@httpd] rewrite engine shows text instead of executes script

2012-01-30 Thread Tim Johnson
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.

[users@httpd] htaccess is blocking cookie transmission

2011-03-07 Thread Tim Johnson
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

Re: [users@httpd] How htaccess enables CGI script as default page

2011-03-03 Thread Tim Johnson
* 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

Re: [users@httpd] How htaccess enables CGI script as default page

2011-03-02 Thread Tim Johnson
* 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

Re: [users@httpd] How htaccess enables CGI script as default page

2011-03-02 Thread Tim Johnson
* 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

[users@httpd] How htaccess enables CGI script as default page

2011-03-02 Thread Tim Johnson
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

Re: [us...@httpd] internal redirects error

2010-11-10 Thread Tim Johnson
* 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

Re: [us...@httpd] internal redirects error

2010-11-10 Thread Tim Johnson
* 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

[us...@httpd] internal redirects error

2010-11-10 Thread Tim Johnson
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

Re: [us...@httpd] DirectoryIndex for a specific index

2010-11-09 Thread Tim Johnson
* 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

[us...@httpd] DirectoryIndex for a specific index

2010-11-09 Thread Tim Johnson
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

Re: [us...@httpd] cgi script as domain root index (howto)

2010-11-01 Thread Tim Johnson
* 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

Re: [us...@httpd] cgi script as domain root index (howto)

2010-10-31 Thread Tim Johnson
* 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

Re: [us...@httpd] cgi script as domain root index (howto)

2010-10-31 Thread Tim Johnson
* 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

[us...@httpd] cgi script as domain root index (howto)

2010-10-31 Thread Tim Johnson
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

Re: [us...@httpd] cgi applications are *now* generating errors

2010-08-07 Thread Tim Johnson
* 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

[us...@httpd] cgi applications are *now* generating errors

2010-08-07 Thread Tim Johnson
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

Re: [EMAIL PROTECTED] fully qualified domain name - Problem

2007-05-23 Thread Tim Johnson
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

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-23 Thread Tim Johnson
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 -

[EMAIL PROTECTED] fully qualified domain name - Problem

2007-05-22 Thread Tim Johnson
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

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-22 Thread Tim Johnson
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

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-21 Thread Tim Johnson
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

[EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-21 Thread Tim Johnson
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

[EMAIL PROTECTED] Providing pwd&usr with cgi URL

2006-02-21 Thread Tim Johnson
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