XUpload - Problem with upload_staus.cgi displaying as text

Message
Author
packerm
Posts: 8
Joined: Dec 05, 2006 4:23 pm

Problem with upload_staus.cgi displaying as text

#1 Postby packerm » Dec 05, 2006 4:31 pm

Hi

I've set the free version of xupload 2.5 up on our website and sorted out permissions etc, however the pop up box that's supposed to show progress just comes up with the text of the script i.e.

#!/usr/bin/perl
### XUpload v2.5
### SibSoft.net (26 Jan 2006)
use strict;
... etc etc

Is this a problem with the way I've set it up or a problem with the web server not recognising the perl script??

Checked on the ISPs help site (streamline.net) and PERL is supported on their LINUX server, the path to PERL is /usr/bin/perl and I've uploaded the CGI into my cgi-bin/xupload directory. According to the streamline help here http://www.streamlinesupport.net/index. ... how&id=103 pERL shojld not be a problem but not sure what I am doing wrong.

www.tshirt-mad.co.uk/upload_form.html is example.

Any help greatly appreciated

Mick

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Dec 05, 2006 6:07 pm

Make sure X (execute) permission setted up on .cgi scripts. Email ISP support if still won't work.

packerm
Posts: 8
Joined: Dec 05, 2006 4:23 pm

#3 Postby packerm » Dec 05, 2006 6:34 pm

i've chmoded everything to 777 so should have full access.

chrisdpucci
Posts: 9
Joined: Oct 11, 2006 6:15 pm

#4 Postby chrisdpucci » Dec 29, 2006 1:51 pm

Most servers won't execute scripts if the cgi-bin directory is chmod'd to 777 for security reasons. You have to have it set to 755 for scripts inside the cgi-bin directory to run.