XUpload - running from a directory within cgi-bin

Message
Author
pendal
Posts: 4
Joined: Jun 03, 2010 6:06 pm

running from a directory within cgi-bin

#1 Postby pendal » Jul 12, 2010 3:20 pm

just got pro version of xupload. I was wondering what I need to modify to get the scripts to work from within a subdirectory of cgi-bin?

we have quite a few scripts in our cgi-directory and one of them happens to also be names upload.cgi.

I would like to put xupload in it's own directory like this

/cgi-bin/xupload/files here.

any help would be great.

Thanks,
Chris

pendal
Posts: 4
Joined: Jun 03, 2010 6:06 pm

#2 Postby pendal » Jul 12, 2010 4:02 pm

i got everything running from subdirectory except the actual progress bar.

1. the file is actually uploaded.
2. the post redirects correctly after the file is finished.

but when the script is suppsed to be displaying the progress bar I get the usual cgi-bin error

Code: Select all

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, 
etc..etc..

Any help would be great.

Thanks,

pendal
Posts: 4
Joined: Jun 03, 2010 6:06 pm

#3 Postby pendal » Jul 13, 2010 2:53 pm

i got this working..

it was that upload_status.cgi was in dos format. I must have opened it in wordpad accidently before uploading it to the linux server.

once I fixed that .. all is well.