Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread bogi
check selinux . if it is running disable and see ... Szemir On December 29, 2009 12:36:57 am Shawn wrote: I can't speak much to Perl specifics with Apache - I've never done that. But, permissions can be tricky. If you do have a permissions problem, you *should* be getting a 403 error,

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Dean Mah
On 2009-12-28, at 10:06 PM, Darcy Brodie da...@canasc.ca wrote: yes, I have. What they are saying for the test scripts is; malformed header from script. Bad header=This is a test so see if this works : darcy2.pl what I have in that script is #!/usr/bin/perl printThis is a test to see

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Dean Mah
On 2009-12-28, at 10:06 PM, Darcy Brodie da...@canasc.ca wrote: From the script for the password program, when I run it from the browser, I get (2)No such file or directory: exec of '/var/www/cgi-bin/ batchsetup.cgi' failed Premature end of script headers: batchsetup.cgi It sounds

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Darcy Brodie
bogi wrote: check selinux . if it is running disable and see ... Szemir Szemir During the installation, I disabled selinux - but for good measure I double checked and it is still disabled Darcy On December 29, 2009 12:36:57 am Shawn wrote: I can't speak much to Perl

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Darcy Brodie
Dean Mah wrote: On 2009-12-28, at 10:06 PM, Darcy Brodie da...@canasc.ca wrote: yes, I have. What they are saying for the test scripts is; malformed header from script. Bad header=This is a test so see if this works : darcy2.pl what I have in that script is #!/usr/bin/perl printThis

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Darcy Brodie
Dean Mah wrote: On 2009-12-28, at 10:06 PM, Darcy Brodie da...@canasc.ca wrote: From the script for the password program, when I run it from the browser, I get (2)No such file or directory: exec of '/var/www/cgi-bin/batchsetup.cgi' failed Premature end of script headers:

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darcy Brodie wrote: Thanks Gustin Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darcy Brodie wrote: Gustin, Thanks for the suggestions Gustin Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 snip

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darcy Brodie wrote: Dean Mah wrote: On 2009-12-28, at 10:06 PM, Darcy Brodie da...@canasc.ca wrote: From the script for the password program, when I run it from the browser, I get (2)No such file or directory: exec of

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Shawn
if you just want a password protected directory, why not just use htpasswd? You would first set up a password file: htpasswd -c /path/to/password_file myuser Enter the passwords. These are encrypted and stored in the specified file. (NOTE: the -c means to create, so only use -c for the

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Darcy Brodie
Hello everyone. After a little more digging, I figured that I would update everyone on the exact cause of my frustrations over the past couple of days. Although I had purchased this program from a company who claimed it was written for linux, I would now have to assume that it was actually

Re: [clug-talk] Apache web server with cgi / perl scipts

2009-12-29 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darcy Brodie wrote: snip Although I had purchased this program from a company who claimed it was written for linux, I would now have to assume that it was actually written for linux on a dos / windows computer. As soon as I ran dos2unix on all

Re: [clug-talk] clug-talk Digest, Vol 61, Issue 15

2009-12-29 Thread Ralph Boland
Hi Ralph, What a sly way to give yourself a new computer for Christmas! As far as getting the data off the old HDD, there are a couple of options: 1) Borrow my external HDD = USB dongle 2) Bring in the HDD to CLUG on the 6th and copy everything to CD/DVD (how much data is there?) 3)

Re: [clug-talk] clug-talk Digest, Vol 61, Issue 15

2009-12-29 Thread John Jardine
On Tue, 2009-12-29 at 22:01 -0700, Ralph Boland wrote: Hi Ralph, What a sly way to give yourself a new computer for Christmas! As far as getting the data off the old HDD, there are a couple of options: 1) Borrow my external HDD = USB dongle 2) Bring in the HDD to CLUG on the 6th