Wrox Home  
Search P2P Archive for: Go

  Return to Index  

apache_server thread: Re: Server-side Includes


Message #1 by "Bogomil Shopov" <contact_bogomil@b...> on Fri, 25 Jan 2002 13:57:17
Hello

did you resolve your problem ?

if not email me at personal@b... ,i will explain you !





Have a nice day!

Bogomil Shopov







> Hi,

> 

> I am trying to configure server-side includes for Apache. However, I

> only want it switched on for a particular URL (I don't want it switched

> on for all sites and URLs because I want to keep performance snappy).

> How do I do this?

> 

> For example, I am using the following in my config file:

> 

>         # Server-side parsing switched on for Ajai's folder only

>         <DirectoryMatch ^/~ajai/www/*>

>                 AddType text/html .shtml

>                 AddHandler server-parsed .shtml

>                 Options +IncludesNoExec +Indexes

>         </DirectoryMatch>

> 

> On our server, each user has a www folder mapped to ~user.

> 

> The example above should switch server-side parsing for my folder only.

> What happens is that the server returns the document as text without any

> parsing whatsoever. If I switch on server-side parsing globally it seems

> to work fine. Question is, if I switch it on globally then does that

> switch it on for *all* GET requests? If so, then this is not what I

> want.

> 

> --

> Aj.

> 

> 

> 


  Return to Index