Apache Indexer

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 file One HTML README No external assets No support folders Download-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

How it works now

  1. Upload apache-indexer.php into the web root or folder where you want to run it.
  2. Open it in your browser.
  3. Select the folder you want to scan.
  4. Click the button to generate the ZIP and your browser download begins immediately.
  5. 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.

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

Recommended workflow

  1. Run the PHP file in your browser on the shared hosting account.
  2. Download the ZIP to your computer.
  3. Open it and spot-check a few folders.
  4. Upload that generated tree to your S3 bucket.
  5. 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: