Faq-O-Matic Faq-O-Matic : Administrators' Guide : Maintain :
Establish automatic maintenance for an SSL site (HTTPS) | |
If FOM is running on an SSL site (which uses HTTPS instead of HTTP), the automatically installed maintenance cronjob will hang because it speaks HTTP only. This means it waits (forever) for a server response while the server tries to perform security negotiations. This can be solved by installing a cronjob with an HTTPS speaking client which invokes the maintenance URL, e.g. by "perl -MLWP::Simple -e 'get <url-to-the-maintenance-task>'". | |
If You have stunnel installed, you can use it for HTTPS-speaking client: /usr/bin/printf "GET <url-to-the-maintenance-task> HTTP/1.0\n\n" | /usr/sbin/stunnel -c -r 443 Stunnel parameters are: -c: Client mode -r 443: Remote host/port, (default host is localhost) | |
If you have curl installed you can use it in the following way.. /usr/local/bin/curl "https://your.domain.nl/cgi-bin/fom?cmd=maintenance&secret=your_code" | |
[Append to This Answer] |
Previous: | How to check for HTML errors |
Next: | How to rearrange the order of categories listed ? |
|