× 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.



Douglas,

That doesn't look very close to my suggestions.  Do you
want to use .shtml for the extension for static HTML files
that include SSI statements?

If so, I'd try this:

  <Directory /www/apachedft/htdocs> 
    AllowOverride None           
    order allow,deny                           
    allow from all                             
    <FilesMatch "\.shtml(\..+)?$">
        Options +Includes
        SetOutputFilter Includes
   </FilesMatch>
  </Directory>

And I'd remove the SSI stuff on your Directory / container.
 That's used to first say "deny requests from all
directories" like the Classic sever did without having to
tell it.  

So it should look simply like this:

<Directory />
  Options None
  AllowOverride None
  order deny,allow
  deny from all
</Directory>


On Thu, 15 Sep 2005 11:10:45 -0700
 "Douglas W. Palme" <dpalme@xxxxxxxxxxx> wrote:
> Brad,
> I added the required changes so my conf now looks like
> this:
> 
>      ************Beginning of data**************   
>     # Apache Default server configuration          
>                                                    
>     # General setup directives                     
>     HotBackup Off                                  
>     CgiConvMode %%MIXED/MIXED%%                    
>     HostNameLookups Off                            
>     UseCanonicalName On                            
>     TimeOut 30000                                  
>     KeepAlive Off                                  
>     DocumentRoot /www/apachedft/htdocs             
>     AddLanguage en .en                             
>                                                    
>     # Deny most requests for any file              
>  <Directory />                                
>    order allow,deny                           
>    deny from all                              
>    Options -Indexes -ExecCGI -includes        
>    AllowOverride Limit Options                
>  </Directory>                                 
>                                               
>  # Allow requests for files in document root  
>  <Directory /www/apachedft/htdocs>            
>    order allow,deny                           
>    allow from all                             
>    Options -Indexes -ExecCGI -Includes        
>    AddOutputFilter INCLUDES .shtml            
>  </Directory>                                 
> Listen 80                        
> 
> However I cannot seem to get it to load the index.shtml
> file on startup, or 
> am I doing something wrong?
> 
> 
> 
> On Thu, 15 Sep 2005 12:26:08 -0500, Brad Stone wrote
> > For HTML files include this in your Directory
> Container:
> > 
> >       <FilesMatch "\.html(\..+)?$">
> >           Options +Includes
> >           SetOutputFilter Includes
> >      </FilesMatch>
> > 
> > For CGI include this in your CGI library directory
> > container:
> > 
> >       Options +ExecCGI +Includes
> >       SetOutputFilter Includes
> > 
> > I have a full example of an apache config at
> > www.bvstools.com/faq.html.
> > 
> > This will allow you to search all files ending in .html
> for
> > SSI statements.  Some like to use .shtml or another
> unique
> > extension for SSI files, but since I use them pretty
> much
> > everywhere, I chose not to... just a hassle.  And it
> won't
> > slow down processing noticably on pages that don't
> contain
> > SSI
> > 
> > Brad
> > www.bvstools.com
> > 
> > On Thu, 15 Sep 2005 07:39:09 -0700
> >  "Douglas W. Palme" <dpalme@xxxxxxxxxxx> wrote:
> > > What do I need to do in order to allow for server
> side
> > > includes to be used 
> > > in the apachedft?
> > > 
> > > 
> > > If you bought, it was hauled by a truck - somewhere,
> > > sometime.
> > > 
> > > -- 
> > > 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.
> > >
> > 
> > Bradley V. Stone
> > BVS.Tools
> > www.bvstools.com
> > -- 
> > 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.
> 
> 
> If you bought, it was hauled by a truck - somewhere,
> sometime.
> 
> -- 
> 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.
> 

Bradley V. Stone
BVS.Tools
www.bvstools.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.