Hi,
I'm using Apache with Mod_Perl configured on a win XP box.
Perl scripts prepare WML cards to return to a CGI request. This works fine
if requests come from mobile phones.
However, if I type the url into my HTML web browser pointing to a perl
script that expects WML to call it, the script, (that is the perl code
itself, not the output from the script), gets sent back to the requestor for
saving!!
I really don't want to lose my code this way! I have this in my perl.conf file:-
Alias /perl/ "C:/Apache2/perl/
Don't you have a typo above? " is not closed.
<Location /perl> SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders </Location>
What can I do to stop files with a *.pl mask being returned to a user?
Make sure that later on in httpd.conf you aren't redefining /perl to be handled by the default handler. e.g. try to move the above config to the very end of httpd.conf.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com