mirror of
https://github.com/oupala/apaxy.git
synced 2025-09-03 04:32:43 +02:00
Merge branch 'develop' into patch-1
This commit is contained in:
30
README.md
30
README.md
@@ -2,6 +2,16 @@
|
||||
|
||||
Apaxy is a customisable theme built to enhance the experience of browsing web directories. It uses the `mod_autoindex` Apache module—and some CSS—to override the default style of a directory listing.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
- [Features](#features)
|
||||
- [Installation](#installation)
|
||||
- [Docker images](#docker-images)
|
||||
- [Apaxy themes](#apaxy-themes)
|
||||
- [Mime Types](#mime-types)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
- [Credits](#credits)
|
||||
|
||||
## Features
|
||||
|
||||
Apaxy may be basic, but it gives you a great deal of creative freedom when styling your directory.
|
||||
@@ -26,21 +36,29 @@ Let's assume you have a folder named `share` in your server root directory (the
|
||||
|
||||
So...
|
||||
|
||||
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
|
||||
```ApacheConf
|
||||
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
|
||||
```
|
||||
|
||||
Should be changed to...
|
||||
|
||||
AddIcon /share/theme/icons/gif.png .gif
|
||||
```ApacheConf
|
||||
AddIcon /share/theme/icons/gif.png .gif
|
||||
```
|
||||
|
||||
* Edit `footer.html` (now in the `/share/theme` folder) and update all instances of paths marked with *{FOLDERNAME}* to point to your site root.
|
||||
|
||||
So...
|
||||
|
||||
<script src=/{FOLDERNAME}/theme/apaxy.js></script>
|
||||
```html
|
||||
<script src=/{FOLDERNAME}/theme/apaxy.js></script>
|
||||
```
|
||||
|
||||
Should be changed to...
|
||||
|
||||
<script src=/share/theme/apaxy.js></script>
|
||||
```html
|
||||
<script src=/share/theme/apaxy.js></script>
|
||||
```
|
||||
|
||||
* Once done, rename `htaccess.txt` to `.htaccess` in both the `/share` and `/share/theme` folders.
|
||||
* [Treat yo'self](http://25.media.tumblr.com/tumblr_lw7q28y0Mz1qanm80o1_500.gif), you're done.
|
||||
@@ -64,7 +82,9 @@ Edit these as you would any other HTML or CSS file.
|
||||
|
||||
Adding your own icons is a little more involved. You'll need to edit the main Apaxy `.htaccess` file. Look for the following as an example:
|
||||
|
||||
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
|
||||
```ApacheConf
|
||||
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
|
||||
```
|
||||
|
||||
The above rule will assign an icon named `gif.png` from the directory `/{FOLDERNAME}/theme/icons/` to any file with the `.gif` extension.
|
||||
|
||||
|
Reference in New Issue
Block a user