Go to advanced search

by wintermute
Tue Nov 26, 2013 4:43 am
Forum: Beginners
Topic: Running Tira-2 via web interface
Replies: 6
Views: 2153

Re: Running Tira-2 via web interface

SOLVED!
I needed to add .cgi and .pl handlers to my apache2.conf file

Additionally I needed a very old, depreciated file: cgi-lib.pl
found here

With these key parts in place with proper permissions and ownership, everything works!
by wintermute
Tue Nov 26, 2013 1:51 am
Forum: Beginners
Topic: Running Tira-2 via web interface
Replies: 6
Views: 2153

Re: Running Tira-2 via web interface

I'm still stumbling around in the dark on this one, trying to get closer to the original environment and having no real luck. Since I've added a few modules to my Apache2 install, I get the following in my Apache2/error.log when I restart the server: [error] python_init: Python version mismatch, exp...
by wintermute
Mon Nov 25, 2013 9:11 pm
Forum: Beginners
Topic: Running Tira-2 via web interface
Replies: 6
Views: 2153

Re: Running Tira-2 via web interface

Here's my javascript <script type="application/x-javascript"> var xmlDoc = null; var newPage = ''; if (navigator.userAgent.indexOf('iPhone') != -1) { addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); } function hideURLbar() { window.scrollTo(0, 1); doAction('volume.pl','');...
by wintermute
Mon Nov 25, 2013 6:02 am
Forum: Beginners
Topic: Running Tira-2 via web interface
Replies: 6
Views: 2153

Re: Running Tira-2 via web interface

Now that I've established that my python script works, it's time to make the link from the webpage to my python script. For simplicity's sake, I'm leaving the site at Apache2's default of /var/www with my files in a subdirectory /var/www/html The perl script pages (in a subdirectory within ../../htm...
by wintermute
Sun Nov 24, 2013 11:53 pm
Forum: Beginners
Topic: Running Tira-2 via web interface
Replies: 6
Views: 2153

Re: Running Tira-2 via web interface

Thanks for the help, Dougie!

I found that my problem was in my configs location; I had the wrong location specified. Once I corrected that, the script worked perfectly.
by wintermute
Sun Nov 24, 2013 7:31 pm
Forum: Beginners
Topic: Running Tira-2 via web interface
Replies: 6
Views: 2153

Running Tira-2 via web interface

Hello, I previously had a neat little home theater remote setup using a minimal ubuntu machine and a Tira-2 USB IR transceiver. The old machine finally died after about 5 years of continuous operation, so I've replaced it with a Pi The old setup worked like this: web page button (form) press -> AJAX...

Go to advanced search