The htaccess files contain a few rewrites that ensure basic hiding of
scripts that shouldn't be accessed is enforded. This commit is based on
the changes in pull request #298 (thanks goes to @minad).
Also in this commit is a re-ordering of Dockerfile statements to
leverage caching when working on the apache configuration. There are
probably other improvements to be made but I'm not enough of a PHP
expert to spot them.
hub had a problem with the quotes in the sed expression so rather than
worry about it, I've dropped the problem completely. The double quotes
don't mask the slash in the path for cat. Thus, using a different
separator removes the problem of a truncated expression.
The latest import for the Dockerfile began having failures due to apache
configuration changes in debian. This update fixes those failures and
pins the base debian image to avoid these issues until we need to update
debian itself.
* net_smtp2 to net_smtp
* auth_sasl2-beta to auth_sasl
Currently installing `Net_SMTP2` results with the following error:
```bash
[09-Jan-2015 21:15:14 UTC] PHP Fatal error: Class 'Net_SMTP' not found in /var/www/program/lib/Roundcube/rcube_smtp.php on line 111
```
Switching back to Net_SMTP fixes this issue