|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
hai
i wrote one banner rotation program that will equally distributes my ads in to my web pages ... The problem now is i have to include this in my html file. I know this can be done by using SSI .. I have apache running in RedHat 6.1 ...along with MySQL .. Anybody please help me in activating SSI support in my Server. vijay |
|
#2
|
|||
|
|||
|
Start here -> http://www.apache.org/docs/mod/core.html#options
|
|
#3
|
|||
|
|||
|
Thats very easy to do.
First to use SSI in an html file your file must have the extension of shml instead of html or htm, so it would be somefile.shtml Now you are ready to actually use SSI. in ur file put one of the following lines: To include files, use the following include directives in your HTML pages: <!--#include virtual="somedirectory/banner.htm" --> or <!--#include file="somedirectory/banner.htm" --> To include CGI output, use: <!--#exec include="cgi-bin/script.pl" --> or <!--#exec cgi="/usr/home#/username/html/cgi-bin/script.cgi" --> Do now use urls they wont work so dont put something like http://www.yoursite.com/thisfile.cgi or somethig like that, make sure you are using a path to the file, thats the only thing that will work. |
|
#4
|
|||
|
|||
|
>>First to use SSI in an html file your file must have the extension of shml instead of html or htm
It's not a MUST >>Anybody please help me in activating SSI support in my Server. He was not asking for how SSI works. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Parsing HTML for SSI in Apache! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|