You have to install a fixup handler to tell the server to parse them again, i have the following in my config file:
-- in httpd.conf -- PerlFixupHandler +NetChant::Component::Handlers::shtmlFixupHandler and my shtmlFixupHandler subroutine looks like: #################################### # # shtmlFixupHandler # =head2 shtmlFixupHandler =over =item Description Enables you to have shtml files in areas where you might have other PerlHandlers installed. ie. Assuming you have the Includes option turned on for your virtual host/server, putting a .shtml file in the 'auth' directory will not work as expected (aka, it will not get parsed). This is because there is a PerlHandler already installed in that location which has an associated "SetHandler perl-script" directive, and that directive takes precedence over all others. To enable .shtml files to work in the /auth location for a virtual host put the following configuration in your virtual host apache config file. <Location /auth> Options +IncludesNOEXEC SetHandler perl-script PerlFixupHandler +NetChant::Component::Handlers::shtmlFixupHandler </Location> =back =cut sub shtmlFixupHandler { my $request = instance Apache::Request(shift); # # # $request->handler('server-parsed') if $request->filename =~ m/\.shtml$/; # # # return OK; } On Fri, 2003-03-07 at 11:12, Wladimir Boton wrote: > Hi, > > Iīm protecting a directory of my site with mod_perl, but all .shtml files > inside it donīt get parsed by mod_include. > > There are any way that shtml files get parsed? > > thanks > > > > _________________________________________________________________ > MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com