Michael,
Odd that. First of all anyway, lose the .htaccess file - it's best to try and
get it working with the proper config first. Also, if you can, turn off any
AllowOverride directives in the hierarchy that might affect this. Even if you're
*certain* there aren't, you'll be mightily annoyed if you find a .htaccess file
causing a conflict later on. If it's a non-production server, turn 'em all off!
:)
Aside from that, there's not much I can tell without seeing the config file(s).
The only thing I can think of right now is that you might have commented out or
deleted the LoadModule and/or AddModule directives for mod_include by mistake.
If it's not that, and it's still not working after you've deleted the .htaccess
file and cleaned up AllowOverride, I would need to see the config file(s).
If you want to show them to me, stick 'em in DocumentRoot and post a link here,
or off-list if you're worried about Bad People[tm] looking at them
By the way, permissions, users and groups should be meaningless with SSI, unless
you're using XBitHack. Which you probably aren't?
Cheers,
adam
> -----Original Message-----
> From: webdev-admin at linux.ie [mailto:webdev-admin at linux.ie]On Behalf Of
> Michael Fitzpatrick
> Sent: 30 September 2000 13:24
> To: webdev at linux.ie> Subject: [Webdev] Apache Question - SSI
>>>> 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.>>> _______________________________________________
> Webdev mailing list
>Webdev at linux.ie>http://www.linux.ie/mailman/listinfo/webdev>
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!