Enabling Server Side Includes in Apache2.2
am 17.12.2009 17:52:16 von gregory.greene --_000_559118BA300F3F45AC547BC9E4FD7D9918C1438B45SKATEadunhe du_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Can anyone help a new user of Apache2.2? I'm trying to enable SSI on the s=
erver but don't seem to
be having much luck. I've looked on google and in the FAQ and put into pla=
ce what seems to be fairly
straightforward edits but it never works. Hoping someone can point me in t=
he right direction.
Here's what I put in my httpd.conf file:
Options Indexes FollowSymLinks Includes
AllowOverride None
Order allow,deny
Allow from all
AddType text/html .html
AddOutputFilter INCLUDES .html
AddType text/html .htm
AddOutputFilter INCLUDES .htm
I also tried experimenting with the XBitHack directive but it didn't help e=
ither. Beginning to wonder if
my HTML code to include is just not in the right format. It did work when =
I ran this webserver on
Windows 2003 Server but perhaps it's not compatible with Apache/Linux. Her=
e is the line I'm looking
to include:
I have a bunch of galleries of images in a directory structure in /var/www/=
html. Do you have to define
each and every one in the httpd.conf file? I tried doing that for one gall=
ery but it didn't work either.
Any thoughts? Thanks in advance.
Greg
--_000_559118BA300F3F45AC547BC9E4FD7D9918C1438B45SKATEadunhe du_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
0.0pt;
font-family:Arial'>Can anyone help a new user of Apache2.2? I’m
trying to enable SSI on the server but don’t seem to
0.0pt;
font-family:Arial'>be having much luck. I’ve looked on google a=
nd in
the FAQ and put into place what seems to be fairly
0.0pt;
font-family:Arial'>straightforward edits but it never works. Hoping
someone can point me in the right direction.
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>Here’s what I put in my httpd.conf file:
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'><Directory "/var/www/html">
span>
0.0pt;
font-family:Arial'> Options Indexes FollowSymLinks Includ=
es
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'> AllowOverride None
/font>
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'> Order allow,deny
0.0pt;
font-family:Arial'> Allow from all
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'> AddType text/html .html
0.0pt;
font-family:Arial'> AddOutputFilter INCLUDES .html
o:p>
0.0pt;
font-family:Arial'> AddType text/html .htm
0.0pt;
font-family:Arial'> AddOutputFilter INCLUDES .htm
0.0pt;
font-family:Arial'></Directory>
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>I also tried experimenting with the XBitHack directive b=
ut
it didn’t help either. Beginning to wonder if
0.0pt;
font-family:Arial'>my HTML code to include is just not in the right
format. It did work when I ran this webserver on
font>
0.0pt;
font-family:Arial'>Windows 2003 Server but perhaps it’s not compatibl=
e
with Apache/Linux. Here is the line I’m looking
0.0pt;
font-family:Arial'>to include:
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'><!-- #include file=3D"game.htm" -->
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>I have a bunch of galleries of images in a directory
structure in /var/www/html. Do you have to define
font>
0.0pt;
font-family:Arial'>each and every one in the httpd.conf file? I tried
doing that for one gallery but it didn’t work either.
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>Any thoughts? Thanks in advance.
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>Greg
--_000_559118BA300F3F45AC547BC9E4FD7D9918C1438B45SKATEadunhe du_--