Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old August 1st, 2000, 01:57 AM
chinnavi
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #2  
Old August 1st, 2000, 02:17 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Start here -> http://www.apache.org/docs/mod/core.html#options

Reply With Quote
  #3  
Old August 1st, 2000, 07:38 PM
nisav nisav is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: brooklyn, ny, usa
Posts: 1 nisav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old August 1st, 2000, 11:30 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Parsing HTML for SSI in Apache!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway