I am trying to create a secure "wake on lan" function, invoked from a publicly exposed reverse proxy connection into a virtualhost/port on the same server (a Raspberry Pi) as the reverse proxy. All paths should end up invoking only one php page regardless of the incoming paths an external user has specified.
Will this code (mostly copied from other places) do that ?
#MSIE 6 and older cannot use keepalive BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown </VirtualHost>
I should have added, this is part of the reverse proxy code to invoke it ProxyRequests Off ProxyVia Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /wol https://127.0.0.1:12345/ ProxyPassReverse /wol https://127.0.0.1:12345/ <Location /wol> ErrorDocument 400 "." Order allow,deny Allow from all AuthType Basic AuthName "Restricted - Authorised use ONLY" AuthBasicProvider file AuthUserFile "/etc/apache2/passwd.dat" Require user userA </Location>