Support » Requests and Feedback » Codex Hardening documentation issue

  • tolstoydotcom

    (@tolstoydotcom)



    Re the .htaccess file given in “WP-Content/Uploads” section of the linked page, I haven’t tested it and I might be wrong, but there might be cases where PHP code can still be executed with that file.

    I was going to edit the page to include the .htaccess file from the files directory of Drupal but since I haven’t tested that in WP I decided to post here first.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    but there might be cases where PHP code can still be executed with that file.

    Unless the host is misconfigured, .htaccess should not be able to execute PHP code directly.

    It could redirect requests to PHP file (of course) but that’s not quite the same thing.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.