IndianWebPortal.com

Something Different In Linux

Home » How to » Accessing perl file without .pl extention

Accessing perl file without .pl extention

Posted by Rishikesh Vispute Categories: How to, Knowledge

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


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...