Hi peeps
im trying to add the relay file manager onto the site im building and i got most of it working
ie
download, users, etc...
but for the upload it calls upload.pl from javascript and all that does is wanna download the upload.pl file from site and not add the files i wanna add, anybody used relay or know of a way to help me through this?
if you want more info let me know but prob wont be able to reply till tomoz now around 09:00 GMT +0
cheers
Relay Ajax File Manager - upload problem
Page 1 of 14 Replies - 766 Views - Last Post: 21 June 2012 - 05:34 AM
Replies To: Relay Ajax File Manager - upload problem
#2
Re: Relay Ajax File Manager - upload problem
Posted 13 June 2012 - 09:47 AM
Hey.
Looks like your file manager requires your server to be able to execute Perl scripts, but yours doesn't seem to be able to do that. So, rather than process the Perl script like it's supposed to, it just sends it to you.
You should go over the installation instructions again. You probably missed the part about adding the mod_perl2 extension to Apache, or the part where you add a CGI handler for the "pl" extension.
Looks like your file manager requires your server to be able to execute Perl scripts, but yours doesn't seem to be able to do that. So, rather than process the Perl script like it's supposed to, it just sends it to you.
You should go over the installation instructions again. You probably missed the part about adding the mod_perl2 extension to Apache, or the part where you add a CGI handler for the "pl" extension.
#3
Re: Relay Ajax File Manager - upload problem
Posted 14 June 2012 - 12:42 AM
I looked into it and it seems that the host i use (LCN.com) does use perl scripts, unfourtunatly the file manager doesnt have much documentation to get it up and running.
#4
Re: Relay Ajax File Manager - upload problem
Posted 14 June 2012 - 04:24 AM
Well, in the README.TXT file they do tell you how to enable Perl scripts for a directory:
If your host doesn't allow you access to the required config files, you could try dropping the AddHandler line by itself into a .htaccess file in the root of your project.
*** CONFIGURING APACHE2 *** In the vhost container for the site which will contain relay, you will need to grant the relay folder +ExecCGI and AllowOverride All. <Directory "/path/to/relay/"> AllowOverride All Options +ExecCGI AddHandler cgi-script cgi pl </Directory> Remember to reload Apache after making the changes to your vhost.
If your host doesn't allow you access to the required config files, you could try dropping the AddHandler line by itself into a .htaccess file in the root of your project.
#5
Re: Relay Ajax File Manager - upload problem
Posted 21 June 2012 - 05:34 AM
Atli, on 14 June 2012 - 04:24 AM, said:
If your host doesn't allow you access to the required config files, you could try dropping the AddHandler line by itself into a .htaccess file in the root of your project.
tried your way atli and although it doesn't try to download the .pl file no more i just get the 404 not found in error console even tho it is pointing at the correct directory,
error console:
8Refused to set unsafe header "Connection"
Failed to load resource: the server responded with a status of 404 (Not Found) my.site/test/ftp2/relay/upload.pl?756804956525ca0239938492b3db14dc
75Refused to set unsafe header "Connection"
This post has been edited by Kersh86: 21 June 2012 - 05:48 AM
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|