Skip to content
Browse files

Updated readme to fix folder names

This Repo used to not have the "-Wake-" part in it, and the readme was still referencing that version. So if you clone with the new version it wouldn't work right. Now fixed.
  • Loading branch information...
sciguy14 committed Sep 28, 2015
1 parent 605b364 commit 907e27b348c875d82d2668684898d22456800b29
Showing with 5 additions and 5 deletions.
  1. +5 −5
@@ -19,21 +19,21 @@ You may not want TLS/SSL encryption (though it is recommended), if so skip the n
At this point you will be asked some questions, most of which have no impact on the running of your service. However, the "Common Name" should be the name of any DNS you have setup, so for example "" and the password should be left blank in order for the Pi to be able to load it on boot without you entering a password.

- sudo openssl x509 -req -days 10 -in /etc/apache2/ssl/wol.csr -signkey /etc/apache2/ssl/wol.key -out /etc/apache2/ssl/wol.crt
- sudo mv -f Remote-Wake-On-LAN-Server/apachesslconfig /etc/apache2/mods-available/ssl.conf
- sudo mv -f Remote-Wake-Sleep-On-LAN-Server/apachesslconfig /etc/apache2/mods-available/ssl.conf
- sudo a2enmod ssl

If you skipped TLS/SSL start again here, if you didn't skip you still need the following bits:

- sudo a2enmod headers
- sudo service apache2 restart
- sudo mv -f Remote-Wake-On-LAN-Server/apacheconfig /etc/apache2/sites-enabled/000-default
- sudo mv -f Remote-Wake-Sleep-On-LAN-Server/apacheconfig /etc/apache2/sites-enabled/000-default
- sudo sed -i.bak "s/expose_php = On/expose_php = Off/g" /etc/php5/apache2/php.ini
- sudo sed -i.bak "s/E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/error_reporting = E_ERROR/g" /etc/php5/apache2/php.ini
- sudo sed -i.bak "s/ServerSignature On/ServerSignature Off/g" /etc/apache2/conf.d/security
- sudo sed -i.bak "s/ServerTokens Full/ServerTokens Prod/g" /etc/apache2/conf.d/security
- mv Remote-Wake-On-LAN-Server/* /var/www
- mv Remote-Wake-On-LAN-Server/.htaccess /var/www
- rm -rf Remote-Wake-On-LAN-Server/
- mv Remote-Wake-Sleep-On-LAN-Server/* /var/www
- mv Remote-Wake-Sleep-On-LAN-Server/.htaccess /var/www
- rm -rf Remote-Wake-Sleep-On-LAN-Server/
- rm -f /var/www/index.html
- mv /var/www/config_sample.php /var/www/config.php
- nano /var/www/config.php

0 comments on commit 907e27b

Please sign in to comment.
You can’t perform that action at this time.