Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: Server-Side Includes

Reply
Thread Tools

Re: Server-Side Includes

 
 
Adrienne
Guest
Posts: n/a
 
      07-20-2003
Gazing into my crystal ball I observed "Matt Beckwith"
<> writing in news::

> I have switched my web site to a server which supports server-side
> includes. I have a couple of questions:
>
> 1. Can I test out the includes on my PC, the same way I test out my
> site on my PC? Or does the Include command only work on a server?
>
> 2. Since the extension has to be ".shtml" instead of ".html", does it
> work to have an Include inside of the home page? I mean, it's called
> index.html, so do I name it index.shtml? That is, if I rename it
> index.shtml, will this be the page that's brought up automatically when
> people go to my site?
>
> Thanks.
>
> --
> Matt Beckwith, M.D.
> http://drbeckwith.com
>
>


1. If you don't want to run a server on your system, you can preview SHTML
files with this handy little tool - SHTML viewer available at
http://www.toolsforselling.com/v1/2/shtmview.htm . I have IIS running on
my system, but sometimes I don't want to set up a virtual site, so I use
this. Very easy to use, and free.

2. You should name your index page index.shtml . The server will know to
parse it that way.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
 
Reply With Quote
 
 
 
 
Rob McAninch
Guest
Posts: n/a
 
      07-23-2003
Adrienne <news:Xns93BEA8960E880arbpenyahoocom@207.115.63.15 9>:

>
> 2. You should name your index page index.shtml . The server
> will know to parse it that way.


The server can be configured to be smarter than that. I would
recommend using XBitHack on Apache if you can. That way you don't
have to rename files, or possible break links (not as likely on a
index file).

http://rock13.com/webhelp/cool.rob

--
Rob - http://rock13.com/
Web Stuff: http://rock13.com/webhelp/
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WiFi Hotspot Directory now includes over 12,000 sites including Intl site! Riverwalk Mobile Wireless Networking 0 09-16-2004 02:45 PM
migrating asp to aspl.net: includes? Davíð Þórisson ASP .Net 4 12-30-2003 09:48 PM
Virtual Includes in ASP.NET Steve ASP .Net 1 11-19-2003 06:58 PM
WEBBOT includes and .ASPX Tor Nordahl ASP .Net 0 11-04-2003 09:49 PM
includes in ASP .NET Geraldine ASP .Net 1 10-29-2003 02:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57