#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    53
    Rep Power
    15
    Is apache capable of displaying some default pre-written code on a html, perl, whatver other kind of page?? Everytime the page is called.. the code should be shown, is this possible?
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Start here -> http://www.apache.org/docs/mod/mod_d...directoryindex

    You can explicitly specify the script file name like so:
    DirectoryIndex my_script.pl

    It doesn't has to be named "index" at all.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    53
    Rep Power
    15
    all this would do is show up index.* when a dir is called on a server. What I want to do is show a snippet of code on the page that it is calling for itself.

IMN logo majestic logo threadwatch logo seochat tools logo