[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 t...@akwebsoft.com [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] IfModule mod_alias.c IfModule mod_cgi.c Define ENABLE_USR_LIB_CGI_BIN /IfModule IfModule mod_cgid.c Define ENABLE_USR_LIB_CGI_BIN /IfModule IfDefine

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

2013-02-27 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [130227 07:11]: On 27/02/2013 11:49 AM, Tim Johnson t...@akwebsoft.com 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 forty

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

2013-02-27 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [130227 07:11]: On 27/02/2013 11:49 AM, Tim Johnson t...@akwebsoft.com 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

[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] ScriptAlias/cgi-bin for apache instance on port 8080

2012-11-14 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [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

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 VirtualHost *:8080 DocumentRoot /Users/http ScriptAlias /cgi-bin/ /Users/http/run/ ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Users/http/run/$1

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

2012-11-14 Thread Tim Johnson
* lists-apache replies-lists-a1z2-apa...@listmail.innovate.net [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

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

2012-11-14 Thread Tim Johnson
* Pete Houston p...@openstrike.co.uk [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.

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

2012-11-14 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [121114 13:29]: On Thu, Nov 15, 2012 at 5:40 AM, Tim Johnson t...@akwebsoft.com wrote: * Pete Houston p...@openstrike.co.uk [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

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

2012-11-14 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [121114 13:29]: On Thu, Nov 15, 2012 at 5:14 AM, Tim Johnson t...@akwebsoft.com wrote: I have made some tweaks to httpd.conf without success Here's what I have : # for port 8080 VirtualHost *:8080 DocumentRoot /Users/http

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

2012-11-14 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [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

[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

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

2012-11-13 Thread Tim Johnson
* Tim Johnson t...@akwebsoft.com [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

[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

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

2012-01-31 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [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

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

2012-01-31 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [120131 13:58]: You can use meta tag in your head section to call your script for example meta http-equiv=refresh content=0;url= http://yourdomain.com/path/to/your/cgi-script.py; which will call your script immediately on index.html load. Or you can

[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

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

2012-01-30 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [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.

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

2012-01-30 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [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.

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

2012-01-30 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [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

[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 lee...@gmail.com [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

[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

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

2011-03-02 Thread Tim Johnson
* David Christensen dpchr...@holgerdanske.com [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 to a Perl CGI

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

2011-03-02 Thread Tim Johnson
* Tim Johnson t...@johnsons-web.com [110302 15:19]: * David Christensen dpchr...@holgerdanske.com [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

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

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

2010-11-10 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [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,

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

2010-11-10 Thread Tim Johnson
* Igor Cicimov icici...@gmail.com [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?

[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 :: IfModule mod_dir.c DirectoryIndex index.html index.php index.py index.cgi index.pl index.xhtml index.htm /IfModule Is it possible to to set directory files names specific to the directory: Example::

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

2010-11-09 Thread Tim Johnson
* Eric Covener cove...@gmail.com [101109 14:55]: On Tue, Nov 9, 2010 at 3:08 PM, Tim Johnson t...@johnsons-web.com 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 Directory

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

2010-11-01 Thread Tim Johnson
* Eric Covener cove...@gmail.com [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

[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/ Directory /home/http/py AllowOverride all Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny

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

2010-10-31 Thread Tim Johnson
* Tim Johnson t...@johnsons-web.com [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/ Directory /home/http/py AllowOverride all Options +ExecCGI

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

2010-10-31 Thread Tim Johnson
* Eric Covener cove...@gmail.com [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

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

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

2010-08-07 Thread Tim Johnson
* Tim Johnson t...@johnsons-web.com [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 password file: /usr/local

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-23 Thread Tim Johnson
/cgipath/ ## quoted and trailing '/' Directory /mydoc/root/cgipath AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory I'm much obliged for the help. tim -- Tim Johnson [EMAIL PROTECTED] Palmer

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 URL:http://httpd.apache.org

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-22 Thread Tim Johnson
to change the document root, I can handle symlinks being overwritten by an upgrade apache doesn't seem recognize /var/www/cgi-bin (where cgi-bin is a symlink) thanks tim -- Tim Johnson [EMAIL PROTECTED] Palmer, Alaska, USA

[EMAIL PROTECTED] fully qualified domain name - Problem

2007-05-22 Thread Tim Johnson
? thanks Tim -- Tim Johnson [EMAIL PROTECTED] Palmer, Alaska, USA - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail

[EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-21 Thread Tim Johnson
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. See URL:http://httpd.apache.org

[EMAIL PROTECTED] Providing pwdusr with cgi URL

2006-02-21 Thread Tim Johnson
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 Apache HTTP Server Project