Single-file PHP index builder for GoDaddy shared hosting users.
This app creates Apache-style index.html files inside a downloadable ZIP so you can mirror a folder tree to Amazon S3 and CloudFront and still let visitors browse directories.
Build v18 · 2026-03-20 · Main app file: apache-indexer.php
One PHP fileOne HTML READMENo external assetsNo support foldersDownload-first workflow
What this is for
Amazon S3 and CloudFront do not give you normal Apache directory browsing. If you upload a folder full of files, visitors usually cannot click around and see a classic file listing unless you build those pages yourself.
Apache Indexer does that for you. It scans one selected folder tree, generates Apache-style directory listing pages, places them into a ZIP file, and starts the download right away.
Who this is for
GoDaddy shared hosting users
People working in File Manager or FTP instead of command line
Anyone preparing an Apache-like static mirror for S3 and CloudFront
Testers and site owners who want a simple browser-based tool
How it works now
Upload apache-indexer.php into the web root or folder where you want to run it.
Open it in your browser.
Select the folder you want to scan.
Click the button to generate the ZIP and your browser download begins immediately.
Extract the ZIP on your computer, review it, and upload the finished tree to S3.
Important changes in this version
No external asset folders are created.
No support directories are created by the app.
No ZIP file is stored in your site tree and forgotten later.
The ZIP is created only as a temporary server file for the current request and is deleted automatically.
The generated index.html files contain their own CSS and JavaScript inside each file.
What gets generated
For each folder that does not already contain an index.html, the app creates a self-contained Apache-style directory page.
Name column
Last modified column
Size column
Description column
Parent Directory row when needed
Apache-like sort links such as ?C=N&O=A
What does not happen anymore
No hidden asset library such as .apache-index-assets
No output directory such as .indexer-output
No saved ZIP archives left behind in your hosting account
No command line steps required
Good to know
The app skips folders that already have an index.html.
Hidden files and hidden directories are ignored automatically.
The cleanup tools can remove generated index.html files inside the selected subtree.
The app is scope-locked so actions stay inside the folder tree you selected.
Recommended workflow
Run the PHP file in your browser on the shared hosting account.
Download the ZIP to your computer.
Open it and spot-check a few folders.
Upload that generated tree to your S3 bucket.
Put CloudFront in front of it.
That gives you static hosting with Apache-like directory browsing and no permanent server-side build artifacts.
Versioning
This package uses the same version and date in both files: