Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12508

Reply To: Host Europe GmbH – The script could not be executed correctly

$
0
0

The title of this Forum Topic has been changed for better searchability.  Posts that were not relevant to the actual source of the problem were deleted.

This is a Host specific issue / problem with Host Europe GmbH.  The Host error message is:

herzleuchten.co.at

The script could not be executed correctly.
Please check your error log file for the exact error message.
This can be found in the HIS in “Administration> * YOUR PRODUCT *> * YOUR PACKAGE NAME *> log files”.
More information can be found in our FAQ .
The script Could not be Executed Correctly.
Please refer to your error log for details about this error.
You find it in your KIS under the item “Administration> * YOUR PRODUCT *> * YOUR PACKAGE *> log files”.
Further information can therefore be found in our FAQ .

Problem:
The problem was that this particular Host Server does not allow the .htaccess “Options” directive to be used in .htaccess files on this particular Host Server.

Solution:
Simon checked the Administration log files and the log file error clearly stated that the “Options” directive is not allowed.

[Sat Apr 19 15:27:53 2014] [alert] [client xxx.xxx.xxx.xxx] /is/htdocs/xxxxx/www/herzleuchten/.htaccess: Options not allowed here

To solve this problem the code below was copied from the root .htaccess file to this BPS Custom Code text box: CUSTOM CODE DO NOT SHOW DIRECTORY LISTING/DIRECTORY INDEX and the #Options -Indexes htaccess code was commented out with a Pound sign # as shown below. After making this custom code modification the Save Root Custom Code button was clicked, clicked the Create secure.htaccess File AutoMagic button on the Security Modes page and activated Root folder BulletProof Mode again. The additional Bonus Custom code was added without any issues or problems. It appears that only the “Options” directive is not allowed on this particular web host and all other BPS .htaccess code is allowed.

# DO NOT SHOW DIRECTORY LISTING
# If you are getting 500 Errors when activating BPS then comment out Options -Indexes 
# by adding a # sign in front of it. If there is a typo anywhere in this file you will also see 500 errors.
#Options -Indexes

# DIRECTORY INDEX FORCE INDEX.PHP
# Use index.php as default directory index file
# index.html will be ignored will not load.
DirectoryIndex index.php index.html /index.php
  • This reply was modified 1 day, 8 hours ago by Avatar of AITpro Admin AITpro Admin.
  • This reply was modified 1 day, 8 hours ago by Avatar of AITpro Admin AITpro Admin.
  • This reply was modified 1 day, 7 hours ago by Avatar of AITpro Admin AITpro Admin.
  • This reply was modified 1 day, 7 hours ago by Avatar of AITpro Admin AITpro Admin.
  • This reply was modified 1 day, 7 hours ago by Avatar of AITpro Admin AITpro Admin.

Viewing all articles
Browse latest Browse all 12508

Trending Articles