Go to advanced search

by pearcecg
Thu May 09, 2019 12:23 pm
Forum: Troubleshooting
Topic: enabling perl
Replies: 18
Views: 632

Re: enabling perl

It seems that CGI in other directories is disabled by default in Apache 2.4!

sudo a2enmod cgi

and

Options +ExecCGI
Addhandler cgi-script .cgi .pl
in Apache2.conf

sorted it.
by pearcecg
Mon May 06, 2019 10:09 am
Forum: Troubleshooting
Topic: enabling perl
Replies: 18
Views: 632

Re: enabling perl

Run that as a web CGI program and you'll prove it's working. http://127.0.0.1/cgi-bin/test.pl Sorry that's no go. The requested URL /cgi-bin/test.pl was not found on this server. Replaced 127.0.0.1 wth localhost IP 192.168.0.7 with same result. Think I need to take time out and have a good read. So...
by pearcecg
Fri May 03, 2019 4:24 pm
Forum: Troubleshooting
Topic: enabling perl
Replies: 18
Views: 632

Re: enabling perl

Not clear how to use this, Copied and saved where indicated, but doesn't seem to do anything when clicked to execute. Permission to execute not originally enabled but changed with chmod +x, but still nothing. What should happen - output in browser, or in terminal or ? Direct execution from filer did...
by pearcecg
Fri May 03, 2019 3:18 pm
Forum: Troubleshooting
Topic: enabling perl
Replies: 18
Views: 632

Re: enabling perl

Hi Douglas Yes - my code for serve-cgi-bin.conf is: <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 ENABLE_USR_LIB_CGI_BIN> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi...
by pearcecg
Fri May 03, 2019 12:42 pm
Forum: Troubleshooting
Topic: enabling perl
Replies: 18
Views: 632

Re: enabling perl

Thanks Douglas
Now installed libapache2-mod-perl2.
Now just serves up a copy of the script.
Clearly need more intervention, presumably Addhandler etc, or perhaps some specific enabling.
But what, how and where?

Appreciating the help - but thinking Linux is evil!
by pearcecg
Thu May 02, 2019 6:09 pm
Forum: Troubleshooting
Topic: enabling perl
Replies: 18
Views: 632

Re: enabling perl

No.
I installed this:
apt -y install perl libcgi-pm-perl

Is this wrong?
by pearcecg
Thu May 02, 2019 3:12 pm
Forum: Troubleshooting
Topic: enabling perl
Replies: 18
Views: 632

enabling perl

As a relative newbie I'm tearing my hair out trying to run a perl script in Apache. (This works OK on my website hosted by Plusnet). PHP seems to be OK. The rest of the website works fine as localhost, and seems agreeably snappy. I realise I have to use Addhandler perl-script ,pl or something simila...
by pearcecg
Sat Apr 20, 2019 11:25 am
Forum: Troubleshooting
Topic: Where is printers
Replies: 4
Views: 199

Re: Where is printers

Many thanks for this. I'll have a good peruse - look like a good resource.

George Pearce
by pearcecg
Sat Apr 20, 2019 8:36 am
Forum: Troubleshooting
Topic: Where is printers
Replies: 4
Views: 199

Re: Where is printers

Thanks for this. Menu now contains said item. Unfortunately more action seems to be required to activate printing, which I cannot fathom. The following error messages appear: Printing service not available. Start service on this computer …. CUPS server error.. : failed to connect to server. Help > T...
by pearcecg
Fri Apr 19, 2019 10:44 am
Forum: Troubleshooting
Topic: Where is printers
Replies: 4
Views: 199

Where is printers

As a newbie struggling a bit with raspbian, I can find no reference to printing or printers in the desktop. I wish to install a networked postscript printer (Lexmark) but am unable to find any link to printers. Help needed please. I also would like to give the Pi a static IP address (for a future we...
by pearcecg
Thu Apr 04, 2019 2:00 pm
Forum: RISCOS
Topic: New official keyboard - RISCOS
Replies: 6
Views: 2056

Re: New official keyboard - RISCOS

Thanks for this
NUMLOCK now sorted. - I should have known this!
by pearcecg
Thu Apr 04, 2019 11:40 am
Forum: RISCOS
Topic: New official keyboard - RISCOS
Replies: 6
Views: 2056

New official keyboard - RISCOS

Why does the new keyboard fail to give the correct upper case characters (SHIFT) ? I've discovered I can correct this behaviour with (CTRL-SHIFT-NUMLOCK). But why should I have to do this on every boot? Is there some way of getting it to behave normally? I'm mainly using RISC OS by the way. Charles ...
by pearcecg
Wed Mar 27, 2019 8:01 am
Forum: Troubleshooting
Topic: preinstalled noobs fails
Replies: 8
Views: 437

Re: preinstalled noobs fails

Thanks for this clear explanation.
This raises two questions.

1. Why RISC OS is present on the card if it can not be used.

2. Why the retailers do not give some warning while this is the case.
by pearcecg
Fri Mar 22, 2019 3:14 pm
Forum: Troubleshooting
Topic: preinstalled noobs fails
Replies: 8
Views: 437

preinstalled noobs fails

The latest 16Gb preinstalled noobs card wont install Riscos. Error says : cant install RiscOs - recovery partition too large. This is with latest 3B+, purchased at the same time. The Pi Hut less than helpful, suggesting I contact the software developer. I have several Pis, including an earlier 3B, a...
by pearcecg
Tue Jul 02, 2013 5:52 pm
Forum: RISCOS
Topic: Broken Directory on Pi
Replies: 4
Views: 1400

Re: Broken Directory on Pi

I have now managed to repair the broken disk. I burnt a new card, changed the disk name to avoid ambiguous diskname errors. Then booted up with the new card, and a USB stick containing DiskNght. Swapped the cards,cancelled insert old disk messages and repaired with Disknght. Druck, you're a star! ch...
by pearcecg
Mon Jul 01, 2013 8:16 am
Forum: RISCOS
Topic: Broken Directory on Pi
Replies: 4
Views: 1400

Broken Directory on Pi

My beloved Pi today booted into the splash screen with 'Broken Directory Error No &1C0A8' and stopped with a star prompt. I would normally resort to DiskNight on a floppy to address this but of course this is not an option on the Pi. Any bright ideas how I might fix this - if indeed it is possible G...
by pearcecg
Wed Oct 31, 2012 10:34 am
Forum: RISCOS
Topic: RISC OS released on Raspberry Pi
Replies: 133
Views: 28346

Re: RISC OS released on Raspberry Pi

The first release of RiscOS for the Pi is fantastic - well done guys. Everything seems to work well and response is very snappy - as good as if not better than Iyonix. Network over DHCP just works - network printers up and running via ethernet (don't know what ethernet over USB means!) Boot up says ...

Go to advanced search