Accessing perl file without .pl extention

How to Access  perl script file without .pl extention
for example: http://192.168.o.2/~test/cgi-bin/testperlpath.pl
here in this case client want to access testperlpath.pl file without .pl extention like
http://192.168.o.2/~test/cgi-bin/testperlpath
then you need to add handler in .htaccess file
<Files ~ ‘^[^.]*$’>
SetHandler cgi-script
</Files>
Done

Leave a Comment