Skip to content

MyApache Settings

The MyApache Settings page in the AdminBolt admin panel lets you configure the Apache web server through a tabbed interface. Every server directive, security header, performance limit, SSL/TLS option, and loadable module is exposed as a control on this page.

Overview

URL: /admin/my-apache-settings

At the top of the page you will find:

  • MyApache Profile - a dropdown to select the configuration profile (e.g. Default (my-apache)).
  • Service status indicator - shows whether the MyApache service is running (green) or stopped (red).

The settings are organized into six tabs:

  1. Server Configuration
  2. Security & Performance
  3. Timeouts & Performance
  4. Request Limits
  5. Logging Configuration
  6. Modules Configuration

Some settings only apply when their related module is enabled. Within the Modules Configuration tab, enabling a module reveals its associated settings. To keep this reference readable, those module-specific settings (HTTP security headers, SSL/TLS, MaxMind/GeoIP, proxy, MIME, status, and user directories) are documented below in their own logical sections.

Server Configuration

Server Configuration tab

Basic identity and process settings for the server.

SettingDescription
Server RootThe directory in which the server's configuration, error, and log files are kept.
PID FileFile where the server should record its process identification number.
UserThe name of the user under which the server will answer requests.
GroupThe name of the group under which the server will answer requests.
Server Admin EmailEmail address that the server includes in error messages.
Server NameThe hostname and port that the server uses to identify itself.

Login Shortcut URLs

Short paths that every hosted domain answers on and that redirect visitors to the panel or webmail login. They give your customers a memorable entry point such as yourdomain.example/cpanel instead of the full panel address and port. The section sits in the Server Configuration tab, below Basic Server Settings.

Login Shortcut URLs section with the three default shortcut paths

SettingDescription
Enable login shortcut URLsPublishes the shortcuts across the server. Enabled by default, including on servers upgraded from an earlier release.
Shortcut pathsThe list of paths to publish. Visible while the feature is enabled.

Each entry in Shortcut paths has two fields:

  • Path (required) - a single path segment starting with a slash, for example /cpanel. Letters, digits, dots, underscores, and hyphens are accepted. Nested paths such as /login/panel are not.
  • Destination (required) - Panel login or Webmail login.

Default shortcuts

A new server, and a server upgraded from a release without this feature, starts with three entries:

PathDestination
/cpanelPanel login
/panelPanel login
/webmailWebmail login

How the shortcuts behave

Shortcuts are published once for the whole server, so every hosted domain answers on them without per-domain setup. A request to a shortcut path returns a temporary redirect to the panel address. Rules your customers set in their own .htaccess files are not modified and keep working as before.

Destinations resolve against the current panel hostname every time the configuration is applied, so changing the server hostname moves the shortcuts with it on the next apply.

LiteSpeed Enterprise reads the same configuration, so the shortcuts behave identically on servers running either web server.

Reserved paths

Five paths are already claimed by the server and are rejected if you enter them: /autodiscover, /.well-known, /cgi-sys, /cgi-bin, and /_errors. A shortcut on any of them would break mail autodiscovery, SSL certificate validation, or CGI handling.

Restoring the defaults

Saving an empty list publishes no shortcuts at all; it does not fall back to the defaults. To bring the three default entries back, clear the list, turn Enable login shortcut URLs off, then turn it on again.

When a change does not take effect

Turning the feature off keeps your custom list, so re-enabling it restores what you had. If a saved path does not appear on your domains, check that it is a single segment starting with a slash and that it is not one of the reserved paths above.

Security & Performance

Security and Performance tab

General security hardening and response-handling settings.

SettingDescriptionOptions
Server TokensControls the Server response header field.Production (minimal), Major version only, Minor version, Minimal, OS and version, Full version info
Server SignatureConfigures the footer on server-generated documents.On, Off, Email
Hostname LookupsEnables DNS lookups on client IP addresses.On, Off, Double
TRACE EnableControls the behavior of TRACE requests.On, Off, Extended
Default CharsetDefault character set to add to any response that does not have one.Free text
Enable SendfileControls whether the kernel sendfile support is used.On, Off
Index OptionsControls the display of directory listings.Free text

HTTP Security Headers

Response headers that harden the browser-side security of served pages. These appear in the Modules Configuration tab alongside the HTTP headers module.

SettingDescriptionOptions
X-Frame-OptionsControls whether a browser can embed the page in a frame.DENY, SAMEORIGIN, ALLOW-FROM
X-Content-Type-OptionsPrevents MIME type sniffing.nosniff
X-XSS-ProtectionEnables XSS filtering in the browser.Free text
Referrer PolicyControls how much referrer information is included.no-referrer, no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
Permissions PolicyControls which browser features can be used.Free text
Content Security PolicyDefines content security policy rules.Free text

Recommended starting values

For most sites: X-Frame-Options SAMEORIGIN, X-Content-Type-Options nosniff, and Referrer Policy strict-origin-when-cross-origin. Add a Content Security Policy only after testing, since a strict policy can break pages; a permissive starting point is default-src 'self'. Turn on HSTS (the Strict-Transport-Security header) only once HTTPS works for the whole site.

Timeouts & Performance

Timeouts and Performance tab

Connection timeout and keep-alive behavior.

SettingDescriptionOptions
Timeout (seconds)Amount of time the server will wait for certain events before failing a request.Numeric
Keep-AliveEnables HTTP persistent connections.On, Off
Keep-Alive Timeout (seconds)Number of seconds to wait for the next request from the same client.Numeric
Max Keep-Alive RequestsMaximum number of requests to allow during a persistent connection.Numeric

Request Limits

Request Limits tab

Limits on the size and structure of incoming client requests.

SettingDescription
Limit Request Body (bytes)Restricts the total size of the HTTP request body sent from the client.
Limit Request FieldsLimits the number of request header fields that will be accepted from the client.
Limit Request Field Size (bytes)Limits the size of the HTTP request header allowed from the client.

MPM and Worker Processes

Selects the Multi-Processing Module and tunes how many worker processes Apache runs. Select MPM Module is required.

SettingDescriptionOptions
Select MPM Module (required)Choose the Multi-Processing Module (MPM) for Apache.Event MPM, Prefork MPM, Worker MPM
Start ServersNumber of child server processes created on startup.Numeric
Min Spare ServersMinimum number of idle child server processes.Numeric
Max Spare ServersMaximum number of idle child server processes.Numeric
Max Request WorkersMaximum number of child server processes.Numeric
Max Connections Per ChildMaximum number of connections a child process will serve (0 = unlimited).Numeric

Choosing an MPM

Event is the modern default and works best with HTTP/2 and high concurrency. Use Prefork when a site loads PHP through mod_php, since it runs one process per request and is the safe choice for modules that are not thread-safe. Worker is a threaded middle ground. With PHP-FPM (the usual setup), Event is the recommended choice.

Logging Configuration

Logging Configuration tab

Locations, formats, and verbosity of the server log files.

SettingDescriptionOptions
Error Log PathPath to the error log file.Free text
Access Log PathPath to the access log file.Free text
Visitors Log PathPath to the visitors log file.Free text
Access Log FormatFormat for the access log.Combined, Common, Visitors, Combined I/O
Visitors Log Format (selector)Format for the visitors log.Visitors, Combined, Common
Combined Log FormatCustom format string for combined log format.Free text
Common Log FormatCustom format string for common log format.Free text
Visitors Log Format (custom string)Custom format string for visitors log format.Free text
Combined I/O Log FormatCustom format string for combined I/O log format.Free text
Log LevelLevel of detail for error logging.Emergency, Alert, Critical, Error, Warning, Notice, Info, Debug, Trace 1 to Trace 8

Note: there are two Visitors Log Format controls. The selector chooses a built-in format, while the custom string field defines your own format pattern.

SSL/TLS

SSL/TLS settings appear in the Modules Configuration tab when the SSL module is enabled. They are grouped below by purpose.

Protocols and Ciphers

SettingDescriptionOptions
SSL EngineEnables or disables the SSL engine.On, Off
SSL ProtocolSSL/TLS protocols to enable.Free text
SSL Cipher SuiteSSL cipher suites to use.Free text
SSL Honor Cipher OrderHonors the server's cipher order preference.On, Off
SSL CompressionEnables or disables SSL compression.On, Off
SSL Session TicketsEnables or disables SSL session tickets.On, Off
SSL Insecure RenegotiationAllows insecure SSL renegotiation.On, Off
SSL FIPS ModeEnables FIPS mode for SSL operations.On/Off toggle
SSL OpenSSL Conf Cmd CurvesElliptic curves to use for SSL connections.Free text
SSL OpenSSL Conf Cmd Security LevelOpenSSL security level (0-5).Numeric

Recommended TLS settings

Enable only modern protocols: set SSL Protocol to all -SSLv3 -TLSv1 -TLSv1.1 so only TLS 1.2 and 1.3 are served. Turn SSL Honor Cipher Order On, and leave SSL Compression and SSL Insecure Renegotiation Off. For SSL Cipher Suite, a current Mozilla "intermediate" cipher list is a safe default.

| SSL Random Seed Startup | Random seed source for startup. | Free text | | SSL Random Seed Connect | Random seed source for connections. | Free text |

OCSP Stapling

SettingDescriptionOptions
SSL Use StaplingEnables or disables OCSP stapling.On, Off
SSL Stapling CacheCache for SSL stapling responses.Free text
SSL Stapling Response Max Age (seconds)Maximum age for OCSP stapling responses.Numeric
SSL Stapling Response Time Skew (seconds)Time skew tolerance for OCSP responses.Numeric
SSL Stapling Return Responder ErrorsReturns OCSP responder errors to clients.On, Off
SSL Stapling Fake Try LaterSends fake "try later" responses for OCSP failures.On, Off

Session Cache

SettingDescriptionOptions
SSL Session CacheCache for SSL sessions.Free text
SSL Session Cache Timeout (seconds)Timeout for SSL session cache entries.Numeric

Proxy SSL

SettingDescriptionOptions
SSL Proxy EngineEnables or disables SSL proxy functionality.On, Off
SSL Proxy ProtocolSSL/TLS protocols for proxy connections.Free text
SSL Proxy Cipher SuiteSSL cipher suites for proxy connections.Free text
SSL Proxy Honor Cipher OrderHonors the proxy server's cipher order preference.On, Off
SSL Proxy CompressionEnables or disables SSL compression for proxy connections.On, Off
SSL Proxy Session TicketsEnables or disables SSL session tickets for proxy connections.On, Off
SSL Proxy Use StaplingEnables or disables OCSP stapling for proxy connections.On, Off
SSL Proxy Session CacheCache for SSL proxy sessions.Free text
SSL Proxy Session Cache Timeout (seconds)Timeout for SSL proxy session cache entries.Numeric
SSL Proxy VerifyLevel of SSL certificate verification for proxy connections.None, Optional, Require
SSL Proxy Check Peer CNChecks peer certificate common name for proxy connections.On, Off
SSL Proxy Check Peer NameChecks peer certificate name for proxy connections.On, Off
SSL Proxy Check Peer ExpireChecks peer certificate expiration for proxy connections.On, Off
SSL Proxy Insecure RenegotiationAllows insecure SSL renegotiation for proxy connections.On, Off
SSL Proxy Random Seed StartupRandom seed source for proxy startup.Free text
SSL Proxy Random Seed ConnectRandom seed source for proxy connections.Free text

MaxMind / GeoIP

Geolocation database settings, available when the MaxMind module is enabled.

SettingDescriptionOptions
MaxMind DB EnableEnables or disables MaxMind database functionality.On, Off
MaxMind DB Server NameServer name for MaxMind database lookups.Free text
MaxMind DB Country FilePath to the MaxMind country database file.Free text
MaxMind DB City FilePath to the MaxMind city database file.Free text

These settings appear in the Modules Configuration tab alongside their related module.

Proxy

SettingDescriptionOptions
Proxy RequestsControls whether the proxy will handle requests.On, Off
Proxy Preserve HostPreserves the original Host header in proxied requests.On, Off

Compression and Directory Indexing

SettingDescription
Deflate TypesMIME types to compress with deflate.
Directory IndexList of files to look for when a directory is requested.

MIME Types

SettingDescription
MIME Magic FilePath to the MIME magic file for type detection.
Types Config FilePath to the MIME types configuration file.

Server Status

SettingDescription
Status LocationURL path for the server status page.
Status Allow FromIP addresses allowed to access the status page.

User Directories

SettingDescription
User DirectoryDirectory to look for user-specific files.

Modules Configuration

Modules Configuration tab

Each module below is exposed as an on/off toggle. Enable a module to load it into Apache; disable it to unload it. Some modules reveal additional settings when enabled, documented in the sections above.

ModuleDescription
access_compat_moduleProvides access compatibility for old directives.
actions_moduleHandles actions for specific MIME types.
alias_moduleAllows URL path aliasing.
allowmethods_moduleRestricts HTTP methods for requests.
asis_moduleSends files to clients without modification.
auth_basic_moduleImplements basic HTTP authentication.
auth_digest_moduleImplements digest HTTP authentication.
authn_anon_moduleSupports anonymous user authentication.
authn_core_moduleHandles core authentication logic.
authn_dbd_moduleAuthenticates users via databases.
authn_dbm_moduleAuthenticates users via DBM databases.
authn_file_moduleAuthenticates users using plain files.
authn_socache_moduleCaches user authentication info.
authnz_fcgi_moduleAuthentication using FastCGI.
authz_core_moduleHandles core authorization logic.
authz_dbd_moduleAuthorizes users via databases.
authz_dbm_moduleAuthorizes users with DBM databases.
authz_groupfile_moduleGroup-based authorization.
authz_host_moduleAuthorizes by hostname/IP.
authz_owner_moduleAuthorizes by file ownership.
authz_user_moduleAuthorizes specific users.
autoindex_moduleGenerates directory listings.
brotli_moduleCompresses content using Brotli.
buffer_moduleBuffers data for filters.
cache_disk_moduleCaches content on disk.
cache_moduleProvides caching mechanisms.
cache_socache_moduleCaches content in shared memory.
cgi_moduleHandles CGI scripts.
cgid_moduleHandles CGI scripts via daemon.
charset_lite_moduleConverts character sets.
data_moduleServes inline data.
dav_fs_moduleDAV for filesystems.
dav_lock_moduleProvides DAV locking.
dav_moduleProvides WebDAV support.
dbd_moduleDatabase interface for modules.
deflate_moduleCompresses content with DEFLATE.
dialup_moduleSimulates slow connections.
dir_moduleHandles the DirectoryIndex.
dumpio_moduleDumps input/output data.
echo_moduleEchoes back request data.
env_moduleManipulates environment variables.
evasive20_moduleEnable or disable this module.
expires_moduleControls content expiration.
ext_filter_moduleExecutes external filters.
filter_moduleProvides filter support.
headers_moduleManages HTTP headers.
heartbeat_moduleGenerates heartbeat signals.
heartmonitor_moduleMonitors server heartbeats.
http2_moduleProvides HTTP/2 support.
include_moduleIncludes configuration files.
info_moduleDisplays server information.
lbmethod_bybusyness_moduleLoad balancing by busyness.
lbmethod_byrequests_moduleLoad balancing by requests.
lbmethod_bytraffic_moduleLoad balancing by traffic.
lbmethod_heartbeat_moduleHeartbeat-based balancing.
log_config_moduleConfigures logging options.
log_debug_moduleProvides debug-level logging.
log_forensic_moduleCaptures detailed request logs.
logio_moduleLogs request input/output.
lua_moduleAdds Lua scripting support.
macro_moduleEnables macro definitions.
maxminddb_moduleIntegrates MaxMind DB.
mime_magic_moduleDetects file types by content.
mime_moduleMaps extensions to MIME types.
negotiation_moduleHandles content negotiation.
proxy_ajp_moduleProxies AJP protocol requests.
proxy_balancer_moduleBalances proxy requests.
proxy_connect_moduleProxies CONNECT method.
proxy_express_moduleExpress-style proxy settings.
proxy_fcgi_moduleHandles FastCGI proxying.
proxy_fdpass_modulePasses file descriptors over proxy.
proxy_ftp_moduleProxies FTP requests.
proxy_hcheck_modulePerforms backend health checks.
proxy_http2_moduleHandles HTTP/2 proxying.
proxy_http_moduleHandles HTTP proxying.
proxy_moduleEnables proxy features.
proxy_scgi_moduleSCGI proxy support.
proxy_wstunnel_moduleSupports WebSocket tunnels.
ratelimit_moduleLimits client data rates.
reflector_moduleReflects request bodies.
remoteip_moduleProcesses client IP addresses.
reqtimeout_moduleLimits request timeouts.
request_moduleHandles HTTP requests.
rewrite_moduleRewrites URLs dynamically.
security2_moduleHandles advanced security configs.
sed_moduleProcesses streams of data.
setenvif_moduleSets environment variables based on conditions.
slotmem_plain_moduleManages plain slot memory.
slotmem_shm_moduleManages shared memory slots.
socache_dbm_moduleDBM-based shared caching.
socache_memcache_moduleMemcache shared caching.
socache_redis_moduleRedis shared caching.
socache_shmcb_moduleShmcb shared caching.
speling_moduleFixes spelling in URLs.
ssl_moduleProvides SSL support.
status_moduleDisplays server status.
substitute_moduleReplaces response content.
suexec_moduleEnable suEXEC for CGI scripts.
systemd_moduleIntegrates with systemd.
unique_id_moduleGenerates unique request IDs.
unixd_moduleHandles Unix processes.
userdir_moduleServes user directories.
usertrack_moduleTracks user sessions.
version_moduleShows server version.
vhost_alias_moduleProvides virtual host aliasing.
watchdog_moduleMonitors server health.

Usage Preset

A predefined configuration profile selector based on your server's hosting volume:

  • Low Capacity - ideal for up to 500 websites
  • Moderate Capacity - supports 500 to 2,000 websites
  • High Capacity - designed for 2,000 to 5,000+ websites
  • Custom Settings - tailor to your specific needs

Actions

  • Apply Configuration - apply the current settings to the service.

Profiles and Service Control

  • Save as New Profile - save the current configuration as a reusable profile.
  • Load Profile / Download Profile - restore or export a saved profile.
  • Check Service Status - verify the current Apache service state.
  • Reload modules - reload the Apache module list.
  • Refresh - reload the current status.
  • Restart - restart the Apache service.
  • Close - close the settings dialog.