|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
Start here -> http://www.apache.org/docs/mod/mod_dir.html#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. |
|
#3
|
|||
|
|||
|
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.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Apache and automated code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|