Gossamer Forum
Home : Products : Others : Fileman :

editing fileman.cgi

Quote Reply
editing fileman.cgi
I'm a newbie, and thinking I was smart. Pirate I downloaded the fileman.cgi file to my local drive and edited the commands section in an attempt to remove some menu options. After uploading the file to my Webserver, I now get a "500 Server Error" when trying to access the program.

What did I do wrong and how can I correct?

I tried changing the settings back in the commands section without any success.

Thank you.
Quote Reply
Re: [jcalkins] editing fileman.cgi In reply to
Perl can be picky about whether lines are terminated with CR or CRLF. If you edited this file on a Windows machine, it likely got saved with CRLF, and if your web server is *nix Perl will be expecting just CR. To fix this, you can see whether your text editor supports saving with CR, or if you have shell access to your server you can try opening fileman.cgi in a text editor there (like pico or vi) and saving it.

Aaron.