LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] Apache Question - SSI

[Webdev] Apache Question - SSI

Michael Fitzpatrick mikejfitzp at hotmail.com
Sat Sep 30 13:24:24 IST 2000


Hello All,

I've been trying to figure this out for over a week now and still can't see 
what I'm doing wrong, so I hope perhaps someone on the list can help me.
My problem is this: I am trying to use Server Side Includes on Apache. I  
edited httpd.conf and uncommented the lines regarding .shtml (AddType,  
AddHandler, etc), the Options for the Directory in which the .shtml files 
are found are set to: Includes Indexes FollowSymLinks. There is a .htaccess  
file in the same directory with the exact same options set. The permissions 
on the .shtml files (and the directories in which they are in) are 755. 
Apache runs as user nobody. The .shtml files are something like this:

<body>
hello
<!--#printenv -->
<p>
bye
</body>

When viewed with a web browser, the page shows the words hello and bye. View 
Source and I can see the entire source including the <!--#printenv --> line. 
(This file was a test file to see why my other more complicated .shtml files 
weren't working, if I can get this working, I'll be able to fix the others 
also).

Anyone know what I'm doing wrong? Any help would be greatly appreciated.

Many Thanks,
Mike
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell