This commit introduces a more reliable and consistent approach to setting up the development environment using backups: - Add setup-from-backup.sh script for environment setup from existing backups - Standardize script naming and organization - Move obsolete scripts to bin/obsolete directory - Update documentation with new workflow instructions - Create migration guide for transitioning to new workflow - Update Memory Bank with workflow improvements The new workflow provides: - More reliable environment setup - Faster setup process - Offline development capability - Consistent development environments across team members Breaking changes: - setup-dev.sh is replaced by setup-from-backup.sh - sync-and-setup.sh is replaced by separate scripts - verify-with-wpcli.sh is no longer used Migration path is documented in MIGRATION_GUIDE.md
34 lines
805 B
ApacheConf
34 lines
805 B
ApacheConf
# Only allow direct access to specific Web-available files.
|
|
|
|
# Apache 2.2
|
|
<IfModule !mod_authz_core.c>
|
|
Order Deny,Allow
|
|
Deny from all
|
|
</IfModule>
|
|
|
|
# Apache 2.4
|
|
<IfModule mod_authz_core.c>
|
|
Require all denied
|
|
</IfModule>
|
|
|
|
# Akismet CSS and JS
|
|
<FilesMatch "^(form\.js|akismet(-frontend|-admin)?\.js|akismet(-admin)?(-rtl)?\.css|inter\.css)$">
|
|
<IfModule !mod_authz_core.c>
|
|
Allow from all
|
|
</IfModule>
|
|
|
|
<IfModule mod_authz_core.c>
|
|
Require all granted
|
|
</IfModule>
|
|
</FilesMatch>
|
|
|
|
# Akismet images
|
|
<FilesMatch "^(logo-a-2x\.png|akismet-refresh-logo\.svg|akismet-refresh-logo@2x\.png|arrow-left\.svg|icon-external\.svg|akismet-activation-banner-elements\.png)$">
|
|
<IfModule !mod_authz_core.c>
|
|
Allow from all
|
|
</IfModule>
|
|
|
|
<IfModule mod_authz_core.c>
|
|
Require all granted
|
|
</IfModule>
|
|
</FilesMatch>
|