SSI

I’m running a local server (MAMP) so why don’t ssi render? Is there
something I need to enable for it to work?

Todd


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Todd,

It needs enabling first. Try these:

http://www.ssi-developer.net/ssi/enabling-ssi.shtml
http://httpd.apache.org/docs/1.3/misc/FAQ.html#ssi-part-i

Joe

On 30 Jul 2009, at 00:03, Todd wrote:

I’m running a local server (MAMP) so why don’t ssi render? Is there
something I need to enable for it to work?

Todd


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Joe but it’s not working yet. Apparently several people on the
MAMP forum have the same problem so it looks like I need to have
another look.

Todd

On Jul 30, 2009, at 2:38 AM, Joe Billings wrote:

It needs enabling first. Try these:

SSI Tutorials - Server Side Includes: Enabling SSI on your server with .htaccess, SSI-Developer.net
http://httpd.apache.org/docs/1.3/misc/FAQ.html#ssi-part-i


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ve read through various Apache instructions for enabling SSI as well
as the MAMP forum (I’m using MAMP, not Pro) and followed the
instructions but still no love. Can someone please walk me through
this process. From what I’ve read it appears so very simple but yet
again it apparently isn’t.

Todd

On Jul 30, 2009, at 2:38 AM, Joe Billings wrote:

SSI Tutorials - Server Side Includes: Enabling SSI on your server with .htaccess, SSI-Developer.net
http://httpd.apache.org/docs/1.3/misc/FAQ.html#ssi-part-i


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Todd,

I was interested in your thread on SSI because I need to use it, too…although I hadn’t looked into it yet. You prompted me!

Anyway I got it working on MAMP. What I did…

  1. In file httpd.conf file in conf/Apache of the distribution, un-comment lines 984 & 985:

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

  1. Add this at line 965:

AddHandler server-parsed .shtml

  1. In my root directory of my site (a small test site I called SSI in the /htdocs folder of MAMP) I put an.htaccess file with the following:

AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
DirectoryIndex index.shtml index.htm

I’m not absolutely sure whether step 3 is actually necessary - you might try it without first and see if it works.

Nevertheless, these steps worked for me. Hope they do for you!

regards
Hugh


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

ps. some carriage returns not showing in the instructions above but you can probably work out where they are!

Also, having saved the httpd.conf file with these new changes, close down MAMP and then reboot MAMP again. Looks like you have to reboot the server for changes to take effect.

Hugh


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter…

How do you make sure carriage returns show up in this forum thing?

And how come when I’ve itemised some lines as 1,2,3 etc. they come out as 1,1,1…???

Are there any instructions anywhere how to use this forum input?

Hugh


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks to Hugh I got it working. Turns out it was operator-error on my
part.

Todd


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you enter 1. and some text on one line, and then a bunch of other
paragraphs of text, the system interprets that as a single ordered
list. And then when you come to the next number followed by text all
alone on a line (no matter what the actual numeral you use) that
counts as a new ordered list, which naturally starts again at 1.
Markdown is very smart about some things, but not others.

You could try using 1- or 1) instead of 1. to create your listing.

This is an ordered list in Markdown, where each item starts with the
number 1, a dot, and a space:

  1. item here
  2. item here
  3. item here

Walter

On Aug 2, 2009, at 6:47 AM, hugh wrote:

Walter…

How do you make sure carriage returns show up in this forum thing?

And how come when I’ve itemised some lines as 1,2,3 etc. they come
out as 1,1,1…???

Are there any instructions anywhere how to use this forum input?

Hugh


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I followed Hugh’s directions. Did not need to modify .htaccess file in order to get ssi’s to work.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options