× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I personally would consider:

<!--#include virtual="/footer.html" -->

A server side include. :)

Justin, The reason I posted the lines from my config is because I don't
like anything that generates code for the HTTP server. It adds so much
that isn't needed, and just complicates things.

If you want to get SSI working, either try implementing what I sent in your
main directory container or post the path to all your HTML files and CGI
library and I'll throw together a quick config file you can use.


On Thu, Jun 12, 2014 at 5:47 PM, Porterfield, Sean <SPorterfield@xxxxxxxx>
wrote:

What "AllowOverrides" directives do you have? If you forbid Includes at
the root and don't allow that option to be overridden, you will get the
results you describe. I'm making an assumption that Apache knows Includes
and IncludesNOEXEC are the same (but different) for calculating the
Override, but I have not tested that.

http://httpd.apache.org/docs/current/mod/core.html#options
http://httpd.apache.org/docs/current/mod/directive-dict.html#Override
--
Sean Porterfield


-----Original Message-----
From: Justin Taylor
Sent: Thursday, June 12, 2014 11:40

I have this directive at the top:
Options -ExecCGI -Includes -Indexes -MultiViews

Under my www root:
Options +IncludesNoExec
AddOutputFilter INCLUDES .shtml

I don't think I need anything under the CGI <Directory>. I am using CGI,
but the includes are just static html snippets in the www folder. It's my
understanding the CGI directive is only required when you want the include
data to come from a CGI pgm.
--


________________________________

This email is confidential, intended only for the named recipient(s) above
and may contain information that is privileged. If you have received this
message in error or are not the named recipient(s), please notify the
sender immediately and delete this email message from your computer as any
and all unauthorized distribution or use of this message is strictly
prohibited. Thank you.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.