September 7th, 2000, 06:27 PM
Is there any way I can create a shell script or a CGI script to parse a directory and append the proper HTML tags so that I can get a point and click directory listing on a web page?
And ultimately, is there a way I can use CGI (or something else) to launch a script or a program on the server from a web page?
Sorry if this is ambiguous, please post if it is, I will try my best to clarify.
September 7th, 2000, 08:01 PM
September 7th, 2000, 08:37 PM
Looking through those scripts, I'm sure I could find one that will help me out...
Question now is...how do I add them to my web page? I created a .pl file and stuck it in my cgi-bin directory...was this wrong?
My page keeps coming back with internal server errors...
September 8th, 2000, 03:49 AM
>>how do I add them to my web page?
You don't. Pages should be generated from the script (dynamic pages).
>>stuck it in my cgi-bin directory...was this wrong?
No. You can place it anywhere you like.
>>My page keeps coming back with internal server errors
Just saying 500 error tells nothing, you need to give more details.