View Single Post
Old March 20th, 2008, 7:17 PM   #3 (permalink)
Eraemia
Registered User
Seasoned Poster
 
Eraemia's Avatar
 
Joined in Jul 2004
Hosted on SH118
42 posts
Gave thanks: 4
Thanked 3 times
Thanks for your reply.

I googled for how to perhaps edit the .htaccess file to force .pl files to be read as text files. I found this useful website:

Stupid htaccess Tricks • Perishable Press
(Search for "Instruct server to display source code for dynamic file types")

which suggests to add the following code to .htaccess:
Code:
RemoveHandler cgi-script .pl .py .cgi
I still cannot view my .pl files after adding that line of code into .htaccess, so I have two questions:
1. How do I implement the code from the website?
2. How do I limit .htaccess to just one subfolder instead of the entire root?

Thanks,
Eraemia
Eraemia is offline   Reply With Quote