Re: Apache-Perl: missing handler "server-parsed"
Philipp Letschert wrote:
>
> I tried to include a perl counter in my webpage with the line:
>
> <!--#exec cgi="/cgi-bin/counter.pl"-->
>
> invoking the counter with http://foo.bar/cgi-bin/counter.pl works fine. But I didnt got it to work from within the document. After spending a lot of time with the Apache documentation I have the following .htaccess file in the web-directory:
>
> SetHandler server-parsed
> Options +Includes +ExecCGI
>
> I also uncommented the following lines in /etc/apache/srm.conf
>
> AddType text/html .shtml
> AddHandler server-parsed .shtml
>
> The .shtml file has the execute bit set, and I have a <Directory /mywebdir> section with "AllowOverride All" in it.
you must also have "Options Includes" in the <Directory> section (or
just add the word Includes
to the existing options line if there is one)
or use the htaccess file.
nate
--
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
aphro@aphroland.org
Reply to: