RiggsFolly Wrote:
-------------------------------------------------------
> Then read and digest the Sticky thread on this
> forum
> [
forum.wampserver.com]
This guide has a flaw. In the section where change httpd.conf from
# Require all granted
# Onlineoffline tag - do not remove
Order Deny, Allow
Deny from all
Allow from 127.0.0.1
Allow from :: 1
Allow from localhost
with
# Onlineoffline tag - do not remove
Require local
We have a capital O in Onlineoffline. But in the instructions for the script onlineOffline.php the tag is written as onlineoffline. The script uses str_replace() which is case sensitive and you will not get your server online.
Be consistent Onlineoffline OR onlineoffline, don't mix.
Also - when editing the script onlineOffline.php the guide tells you to change to
$OnlineText = "# onlineoffline tag - do not remove
Require all granted";
$OfflineText = "# onlineoffline tag - do not remove
Require local";
Be care of case! The variable used in the script is $onlineText and $offlineText. If you just copy and paste the script will not work. Variables are case sensitive as well.