apache-lamp-config

Apache & LAMP Config

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "apache-lamp-config" with this command: npx skills add sraloff/gravityboots/sraloff-gravityboots-apache-lamp-config

Apache & LAMP Config

When to use this skill

  • Configuring local development environments (MAMP, XAMPP, Docker + Apache).

  • Managing .htaccess files.

  • Troubleshooting rewrite rules.

  1. Virtual Hosts
  • Structure: One file per site in sites-available , symlinked to sites-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>

  1. .htaccess Best Practices
  • Rewrites: Standard pattern for front controllers (Laravel/Symfony): RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]

  • HTTPS: Force HTTPS if not handled by a reverse proxy.

  1. PHP-FPM
  • Timeouts: Increase max_execution_time and memory_limit only for specific heavy jobs, not globally.

  • Opcache: Enable Opcache in production for performance.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

caddy-modern-config

No summary provided by upstream source.

Repository SourceNeeds Review
General

wordpress-legacy

No summary provided by upstream source.

Repository SourceNeeds Review
General

modern-css-vanilla

No summary provided by upstream source.

Repository SourceNeeds Review