View Single Post
Old March 21st, 2008, 4:47 AM   #4 (permalink)
cowboy
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
936 posts
Gave thanks: 2
Thanked 95 times
In the folder that contains the .pl files you want displayed as text, make a .htaccess file containing the following and upload to that directory:
Code:
RemoveHandler .pl
AddType text/plain .pl
Either line should work by itself, but, overkill is OK.

Do not add or alter the .htaccess file in the public_html directory, unless, you want site-wide changes.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline   Reply With Quote
These users thank cowboy for this great post!
Eraemia (March 21st, 2008), Thomas (March 21st, 2008)