Wednesday, March 18, 2009

Apache Tip: AddType

see I setup a http://code.fayland.org/ for code review. then I want to show plain text for pl file like Makefile.PL
but by default, it's handled by perl. and it shows a 500 error in browser.

with the dreamhost support, I create a .htaccess like

RemoveHandler .pl .PL .t .html
AddType text/plain .pl .PL .t .html

and it works!

Thanks.

Labels:

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home