# Apaxy

Apaxy is a customisable theme that enhances the experience of browsing web directories served by Apache.

Canonical page: https://ourlocalhost.com/app/8310/apaxy

## Description

Apaxy is a customisable theme that enhances the experience of browsing web directories served by Apache. It uses the mod_autoindex Apache module together with CSS to override the default style of directory listings, letting you style listings with CSS and JavaScript, add welcome messages, download instructions or copyright notices, customise media type icons, and serve custom error pages. It is aimed at homelabbers and webmasters who share files via plain Apache directory indexes but want a friendlier, branded look.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

31/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (last commit 784 days ago)
- Popular: 66 (1,925 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 53 (no serious findings, OpenSSF Scorecard 2.1/10)

## Links

- Official website: https://oupala.github.io/apaxy/
- GitHub: https://github.com/oupala/apaxy

## Common questions

### How do I install Apaxy on an existing Apache server?

Apaxy is a theme, not a standalone app: copy the contents of the /apaxy folder into your listing directory, then edit htaccess.txt and replace every {FOLDERNAME} placeholder with the path to your site root so icons and assets resolve correctly.

### Is there a script to automate the installation?

Yes. Edit the apacheWebRootPath and installWebPath variables in apaxy.config, then run apaxy-configure.sh as a user that can write to the install directory (e.g. www-data on Debian); the script copies and modifies the files automatically.

### Can I change the layout or table structure of the directory listing?

No. Apaxy only overrides the visual style with CSS and JavaScript; the generated table structure of the Apache directory listing cannot be altered.

### How do I enable the image gallery feature?

Replace the default header and footer with the lightgallery variants by renaming header-lightgallery.html to header.html and footer-lightgallery.html to footer.html, then update the paths in those files as with the other theme HTML files.

### How do I add custom icons for specific file types?

Edit the .htaccess file in the theme folder and use AddIconByType directives to map media types to your own icon files.

## Alternatives

- filebrowser.org: A create-your-own-cloud-kind of software where you can install it on a server, direct it to a path and then access your files through a nic…
- h5ai: h5ai · a modern HTTP web server index for Apache httpd, lighttpd, nginx and Cherokee.

---
Source: Our Local Host (https://ourlocalhost.com/app/8310/apaxy), the self-hosted and open-source app directory.
