Sorry for the extra posts, our new e-mail system is a bit flaky when replying... Joel Here is the full reply. >Thanks Bruce, > >I actually found a similar solution last night. I >was going to post this to the board after I read >my e-mail. Here is what I found: > >In the (smoking) config, remove: > >"AddHandler server-parsed .shtml" > >There should still be an AddType text/html .shtml >statement. > >In the Root <Directory /> block add: > >Options +Includes >SetOutputFilter INCLUDES > >In the .shtml serving <directory xxx/yyy> block >add: > >Options +Includes +ExecCGI >SetOutputFilter INCLUDES > >I know it seems redundant but this was based on >the documentation I found. > >Where do you put the <FilesMatch ... > block, in >the directory block or globally? > >Thanks again! > >><FilesMatch "\.shtml(\..+)?$"> >> SetOutputFilter INCLUDES >></FilesMatch> >> >>stick that in your config and smoke it.... <VBG> >> >> >>=========================================================== >>R. Bruce Hoffman, Jr. >> -- IBM Certified Specialist - iSeries >>Administrator >> -- IBM Certified Specialist - RPG IV Developer >> >>"When I die, I want to die like my grandmother >who >>died peacefully >> in her sleep. Not screaming like all the >>passengers in her car." >> >> - Author Unknown >> >>----- Original Message ----- >>From: <jrc@xxxxxxxxxx> >>To: <web400@xxxxxxxxxxxx> >>Sent: Tuesday, March 18, 2003 2:01 PM >>Subject: [WEB400] Apache Config for SSI >> >> >>> Hi all, >>> >>> I'm trying to setup my web box to allow Server >>Side Includes. I'm running >>V5R1 Apache with the following configuration: >>> >>> ... >>> AddType text/html .shtml >>> AddHandler server-parsed .shtml >>> ... >>> >>> In the <Directory> block for the .shtml file >>directory tree I also have: >>> >>> Options +Includes >>> >>> >>> The web page is a simple test with no SSI >>statements (which shouldn't >>affect whether or not the page displays). This >>page works when saved as an >>.html file but not when saved as an .shtml file! >>> >>> When I try to run the .shtml, I get an HTTP >500 >>Internal Server Error >>message. >>> >>> The Apache error_log has the following entry: >>> >>> [warn] [client 184.108.40.206] ZSRV_MSG0010: >Server >>handler server-parsed not >>found for /www/vamaweb/htdocs/testing/test.shtml >>> >>> But I have the AddHandler statement for >>server-parsed as shown above and I >>have stopped and restarted the server! Does >>anyone see what I am missing? >>> >>> Thanks, >>> >>> Joel >>> >_______________________________________________ >>> This is the Web Enabling the AS400 / 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. >>> >> >>_______________________________________________ >>This is the Web Enabling the AS400 / 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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.