Apache Configuration
This page explains the Apache Configuration screen in the GoAdmio Admin Panel. It lets you adjust core Apache HTTP server settings without editing configuration files directly.
Location: Admin Panel → Server Management → Apache Configuration
Overview
The Apache Configuration page exposes the most commonly tuned Apache directives. Changes here are applied to the server's Apache configuration and take effect after a configuration rebuild or restart.
> Note: GoAdmio manages Apache through template-based configuration. Direct edits to /etc/httpd/ or /etc/apache2/ files may be overwritten on the next rebuild. Use this page for supported settings.
Restore Default
The Restore Default button resets all settings on this page to GoAdmio's built-in defaults.
> Warning: This overwrites any custom values you have set (DirectoryIndex, KeepAlive, timeouts, log rotation). Note your current values before clicking Restore Default.
Settings
DirectoryIndex
The list of filenames Apache looks for, in order, when a visitor requests a directory without specifying a file.
| Field | Description | Default |
|---|---|---|
| DirectoryIndex | Space-separated list of index filenames, checked left to right. | default.html index.html index.php go.html |
How it works: when a visitor requests https://example.com/, Apache checks for default.html, then index.html, then index.php, then go.html, and serves the first one it finds.
> Tip: Put your most common entry point first for a tiny performance gain. For WordPress sites, index.php should appear before any static file so the CMS handles the request.
> Note: If none of the listed files exist, Apache returns a directory listing (if enabled) or a 403 Forbidden error.
KeepAlive
Enables or disables HTTP persistent connections. When On, a single TCP connection can carry multiple requests, reducing latency and CPU overhead for pages with many assets.
| Field | Description | Default |
|---|---|---|
| KeepAlive | On or Off | On |
> Tip: Keep On for typical websites — it is faster for browsers loading CSS, JS, and images. Turn Off only in very high-traffic environments where connection slots are scarce.
KeepAliveTimeout
How many seconds Apache waits for the next request on a persistent connection before closing it.
| Field | Description | Default |
|---|---|---|
| KeepAliveTimeout | Seconds to wait for a follow-up request. | 5 |
> Tip: A value of 2–5 is typical. Higher values keep idle connections open longer, consuming worker slots. Lower values free slots faster but may cause browsers to open new connections.
MaxKeepAliveRequests
The maximum number of requests allowed on a single persistent connection before Apache closes it.
| Field | Description | Default |
|---|---|---|
| MaxKeepAliveRequests | Number of requests per connection. 0 means unlimited. | 100 |
> Tip: 100 is a good balance. Setting 0 (unlimited) can let a single client hold a worker slot indefinitely. Lower values (e.g., 50) are fine for most sites.
Log Rotate
How often Apache's access and error logs are rotated (archived and a fresh log started).
| Option | Description |
|---|---|
| Weekly | Rotate logs once per week. |
| Daily | Rotate logs once per day. |
> Tip: Use Daily on busy servers — logs grow quickly and daily rotation keeps individual files manageable and easier to search. Use Weekly on low-traffic servers to reduce the number of archived files.
> Note: Rotated logs are compressed and retained according to the system's log retention policy. Old logs are eventually deleted; archive to external storage if you need long-term retention.
How to Apply Changes
- Log in to the GoAdmio Admin Panel.
- Navigate to Server Management → Apache Configuration.
- Adjust the settings.
- Click Save.
- Rebuild the Apache configuration if prompted, or run: