Current time: 04-17-2025, 08:34 PM Hello There, Guest! (LoginRegister)


Poll: I have the same/similar issue
This poll is closed.
Yip, mines broken 50.00% 1 50.00%
Nope Perl works perfectly out of the box 50.00% 1 50.00%
Total 2 votes 100%
* You voted for this item. [Show Results]

Thread Closed 
[SOLVED] Perl scripts in websites don't work
Author Message
mike548141 Offline
Junior Member
*

Posts: 49
Joined: Nov 2009
Reputation: 0
Post: #1
[SOLVED] Perl scripts in websites don't work
Hi all,

I've had a look around but its possible I'm just missing something. Basically I can not run perl scripts in websites hosted on my ispCP server.

ispCP 1.0.5 setup on Suse 11.1, all works well, hosting a number of websites (vhost) for HTTP & FTP. Not really using mail etc..

I wanted to run a script called rss2cisco.pl on the server, it converts RSS feeds to CM-XML.
- I put the script in htdocs and pointed a browser at it, the webserver let me download the script (http://<domain>/rss2cisco.pl).
- I created a .htaccess in htdocs with a addhandler for CGI (.pl) and a +Exec option set. When I pointed a web browser at it I got a Error 500.
- I moved the script to <domain>/cgi-bin and removed the .htaccess from htdocs, I still got a error 500 (http://<domain>/cgi-bin/rss2cisco.pl), deleted the script from cgi-bin and I get a error 404.

Perl is installed and I can SSH to the server and run the perl script at the console successfully.
The script is chmod 755 and "perl -wc rss2cisco.pl" shows no syntax errors.

The domain has both PHP and CGI enabled on ispCP.

Help please! How do I run perl scripts in ispCP created websites. I see on the comparison chart it is a feature of ispCP.
http://isp-control.net/documentation/about:comparsion

Completely separate matter= Any thoughts on if/when Tomcat and Python support will be integrated into ispCP?

MC
(This post was last modified: 06-23-2010 05:06 PM by BeNe.)
06-10-2010 04:35 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
[SOLVED] Perl scripts in websites don't work - mike548141 - 06-10-2010 04:35 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)