Apaxy is a free, open-source CSS theme that gives Apache's default directory listings a cleaner, customizable look.
Researched and fact-checked by Bartu Cavusoglu · Updated November 30, 2026
Apaxy is a free, open-source theme for Apache directory listings. When Apache serves a folder without an index page, its mod_autoindex module produces a plain table of file names, sizes and dates. Apaxy replaces that bare look with a styled page that has file-type icons, a cleaner layout and optional extras such as a header message or an image gallery. It does this purely with Apache configuration, HTML fragments, CSS and optional JavaScript, so there is no application server, database or account involved. The project is maintained on GitHub under the GPL-3.0 license, credits the h5ai project as inspiration, and uses the GPL-licensed Faenza icon set.
• Styled listings. A stylesheet restyles the table that mod_autoindex generates, giving file browsing pages a modern appearance.
• File-type icons. Icons are mapped to media types in the .htaccess file, and administrators can add or change mappings for their own file types.
• Header and footer content. Editable header and footer HTML files let site owners add welcome text, download instructions or copyright notices above and below the listing.
• Custom error pages. The theme ships with styled error pages that match the listing design.
• Optional gallery. An image gallery based on lightgallery.js can be switched on, which is useful for folders full of photos or screenshots.
• JavaScript hooks. Because the theme loads its own HTML fragments, owners can add scripts for extra behavior such as filtering or search.
• Docker demo. Running docker-compose up starts a local demo so the theme can be tried before deploying.
Apaxy suits system administrators, hobbyists and organizations that already expose file directories over Apache, for example download mirrors, internal file shares, software release folders, photo archives or lab data drops. It is a good match when the goal is simply to make an existing directory index look presentable and easier to scan without building or hosting a separate file-manager application.
Apaxy needs Apache HTTP Server 2.4 or later with mod_autoindex enabled, and the server must allow overrides (AllowOverride Options Indexes FileInfo) for the folder where it is installed. There are two installation routes:
• Scripted: set the web root path and install path in the apaxy.config file, then run the apaxy-configure.sh script as a user with write access to the target folder (for example www-data on Debian).
• Manual: copy the theme files into the listing folder, rename htaccess.txt to .htaccess, and replace the folder-name placeholders with the real paths. Renaming the lightgallery header and footer files turns the gallery on.
Theming happens in the theme folder by editing header.html, footer.html and style.css.
Apaxy is free to download, use and modify under GPL-3.0. There are no paid tiers, hosted versions or support contracts.
Apaxy only changes how a listing looks. The table structure that Apache generates cannot be altered, so features like uploads, user permissions, previews of documents or sharing links are outside its scope. It is tied to Apache; it is not a drop-in theme for Nginx or other servers. Setup requires shell or configuration access to the server, and the project's GitHub page shows no formal releases, so updates come from the repository itself.
Other ways to improve directory browsing include JavaScript-heavy file indexers such as h5ai and full self-hosted file-manager or file-sharing applications. Those offer more functionality, such as search, previews or uploads, but add moving parts. Apaxy's appeal is that it stays a thin layer on top of Apache's built-in feature, which keeps maintenance and security exposure low.
Yes. Apaxy is free and open source software released under the GPL-3.0 license. Its icon set, Faenza, is also GPL-licensed.
It requires Apache HTTP Server 2.4 or later with mod_autoindex enabled, and AllowOverride Options Indexes FileInfo set for the folder where Apaxy is installed. JavaScript is only needed for optional extras such as the gallery.
Either edit apaxy.config and run apaxy-configure.sh, or copy the theme files into the listing folder manually, rename htaccess.txt to .htaccess and replace the folder-name placeholders. A Docker demo is also available for local testing.
No. Apaxy controls the visual styling and the content around the listing, but the table that Apache's mod_autoindex generates stays the same.
Apaxy is designed around Apache's mod_autoindex and .htaccess files, and its documentation only covers Apache. Nginx users would need a different directory listing theme.
Yes. An optional gallery based on lightgallery.js can be enabled by renaming the gallery header and footer files during setup.
Compare file management tools side by side →
Compare their alternatives: Totara alternatives
Tool pages we refreshed lately, from across the directory.