apache-lamp-config
Installation
SKILL.md
Apache & LAMP Config
When to use this skill
- Configuring local development environments (MAMP, XAMPP, Docker + Apache).
- Managing
.htaccessfiles. - Troubleshooting rewrite rules.
1. Virtual Hosts
- Structure: One file per site in
sites-available, symlinked tosites-enabled. - DocumentRoot: Point to the
public/directory, not the project root (security). - Directory: Allow overrides:
<Directory "/var/www/site/public"> AllowOverride All Require all granted </Directory>