Thread: perl extension
Results 1 to 4 of 4
Related
-
Replies: 0
-
How can i execute a perl file within perl programming... Forum: CGI Perl Forum
Replies: 1 -
Adding HTML extension to link Forum: Javascript Forum
Replies: 10
-
10-28-2006, 06:12 AM #1
perl extension
Hello anyone ,
I just start learning perl. I had found some problem to
create perl file in Linus server.
I would like to create perl file without any extension.
e.g for normal perl we will create 'Hello.pl' but now i would like to run my perl file 'Hello' only without any extension.
pls help
Thanks.
-
10-28-2006, 06:30 PM #2
Re: perl extension
this can be done with the .htaccess file by adding this code:
Code:<Files ~ '^[^.]*$'> SetHandler cgi-script </Files>
-
10-30-2006, 12:12 AM #3
Re: perl extension
.htaccess file ? May i know where i need to create this file ? Sorry i not familiar with perl. May i know your the function .htaccess file ? where can i know locate it ?Thanks for your help
I rent spaces from hosting company. I did not found any file .htaccess pls helpLast edited by bali; 10-30-2006 at 12:19 AM.
-
10-30-2006, 02:40 AM #4
Re: perl extension
usually the .htaccess file is created by the user...
to create ont... open notepad and paste that code then file>save...
then change "save as type" to "all files" then save the file as ".htaccess" (without quotes).
(You cannot rename a file .htaccess in windows!)
then upload it to the same place the files you dont want the extensions on.
This will only work if your server uses apache an iis host you cannot eassily do it.
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum