Agent skill
apache
Apache HTTP Server web server. Use for traditional web hosting.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/apache
SKILL.md
Apache HTTP Server (httpd)
Apache is a robust, modular web server. While Nginx leads in raw performance, Apache leads in flexibility via .htaccess. v2.4 remains the stable standard in 2025.
When to Use
- Shared Hosting:
.htaccessallows per-directory config without restarting the server. - Dynamic Modules: Loading modules without recompiling.
- Legacy Apps: Many PHP/Perl apps are pre-tuned for Apache.
Core Concepts
MPM (Multi-Processing Modules)
prefork: Compatible with non-thread-safe libraries (old PHP).event: Modern, async I/O. Best for high concurrency.
VirtualHosts
Serving multiple domains from one IP.
.htaccess
Files in the web root that override config. Convenient but slows performance.
Best Practices (2025)
Do:
- Use
eventMPM: It rivals Nginx in connection handling. - Disable
.htaccess: If you have root access, put config inhttpd.confDirectoryblocks for performance. - Use HTTP/2: Enable
mod_http2.
Don't:
- Don't enable unnecessary modules: Reduce attack surface.
References
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?