Announcement

Collapse
No announcement yet.

Disable PHP in certain directories

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable PHP in certain directories

    For security reasons I need to disable php parsing in certain directories while not in others. Does anyone know how to do this?
    Well, there it is.
    - Keeper of the Grove

  • #2
    Assuming you're on apache...

    For PHP3:

    php3_engine Off

    For PHP4:

    php_flag engine Off

    For more info see:

    http://www.php.net/manual/configuration.php

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X