whitelisting a php in protected .htaccess
-
I have a problem with Better WP security that it blocks access to a custom php script which loads in data to sidebar.php from an external website through a php script https://sourceforge.net/projects/simplehtmldom/ in the root folder together with the loader custom .php
I get
Warning: include(my.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in theme-path/sidebar.php on line 7
Warning: include(): Failed opening ‘my.php’ for inclusion (include_path=’.:/opt/php56/lib/php’) in /theme-path/sidebar.php on line 7
I think some tweak needs to be added in .htaccess to allow this inclusion, if I’m correct the .htaccess blocks the .php requests in the theme path, but how can I whitelist only this file that it is correctly included?Thank you in advance for the help!
- The topic ‘whitelisting a php in protected .htaccess’ is closed to new replies.