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.