mirror of
https://github.com/Vestride/fancy-index.git
synced 2026-07-04 14:39:19 +02:00
22202a54f1d91f6c4bfa4c97b72a5dc8f4bbc7b6
Fancy Index
A responsive Apache index page.
I was tired of seeing the ugly apache-generated index page, so I decided to do something about it. Inspired by Seti UI and atom file-icons, this project adds an .htaccess file which tells apache to use a table, among other things, instead of <pre>.
Before Fancy Index:
After Fancy Index
Setup
I'm going to assume you're using a Sites folder with apache, but it could be done differently. Wherever you see USERNAME, use your username.
- Clone or download the files.
- Add them to your
Sitesdirectory. The structure should be/Users/USERNAME/Sites/fancy-index. - Copy the
.htaccessfile up one directory to/Users/USERNAME/Sites/.htaccess. - Update your
DocumentRootin/etc/apache2/users/USERNAME.confto point to yourSites. This will also causelocalhostto point toSitesand you won't have to use the~USERNAMEto access it.
This is what mine looks like:
DocumentRoot "/Users/glen.cheney/Sites"
<Directory "/Users/glen.cheney/Sites">
AllowOverride All
Options Indexes MultiViews FollowSymLinks
Require all granted
</Directory>
Now restart apache sudo apachectl restart.
If you're having trouble or don't see the correct files, follow one of these guides (Yosemite, El Capitan, Sierra) to get your Sites folder working.
Mobile Comparison
Now you don't have to zoom in or be a sniper with your finger!
| Default | Fancy |
|---|---|
![]() |
![]() |
Languages
JavaScript
62.1%
CSS
33.6%
HTML
4.3%



