• Sales: 1-800-961-2888
  • Support: 1-800-961-4454

How Do I Stop PHP Scripts From Executing In A Directory?


In an .htaccess file placed in the directory you want to stop scripts include this line:

removehandler .php

Then simply add the file extensions you wish to stop.



© 2011-2013 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License


See license specifics and DISCLAIMER