#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    9
    Rep Power
    0
    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.

    Thank you.

    Tim
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    9
    Rep Power
    0
    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...

    Thanks,

    Tim
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>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.

IMN logo majestic logo threadwatch logo seochat tools logo