harshancx

devcms_error_1

Aug 7th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. file_put_contents(private:///.htaccess): failed to open stream: "DrupalPrivateStreamWrapper::stream_open" call failed file.inc:496 [warning]
  2. WD security: Security warning: Couldn't write .htaccess file. Please create a .htaccess file in your private:// directory which contains[error]
  3. the following lines: # Deny all requests from Apache 2.4+.
  4.  
  5. Require all denied
  6.  
  7.  
  8. # Deny all requests from Apache 2.0-2.2.
  9.  
  10. Deny from all
  11.  
  12.  
  13. # Turn off all options we don't need.
  14. Options None
  15. Options +FollowSymLinks
  16.  
  17. # Set the catch-all handler to prevent scripts from being executed.
  18. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
  19.  
  20. # Override the handler again if we're run later in the evaluation list.
  21. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
  22.  
  23.  
  24. # If we know how to do it safely, disable the PHP engine entirely.
  25.  
  26. php_flag engine off
Advertisement
Add Comment
Please, Sign In to add comment