1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-09-09 17:20:41 +02:00

fix: remove the leading slash before {FOLDERNAME}

Remove the leading slash before {FOLDERNAME} so that apaxy can be 
installed at the web root level.
This commit is contained in:
oupala
2019-05-07 18:06:47 +02:00
parent 4b3d4b80ef
commit 17475e12e0
9 changed files with 69 additions and 69 deletions

View File

@@ -54,7 +54,7 @@ Let's assume you have a folder named `share` in your server root directory (the
So...
```ApacheConf
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
AddIcon {FOLDERNAME}/theme/icons/gif.png .gif
```
Should be changed to...
@@ -68,7 +68,7 @@ AddIcon /share/theme/icons/gif.png .gif
So...
```html
<script src=/{FOLDERNAME}/theme/apaxy.js></script>
<script src={FOLDERNAME}/theme/apaxy.js></script>
```
Should be changed to...
@@ -100,10 +100,10 @@ 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:
```ApacheConf
AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif
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.
The above rule will assign an icon named `gif.png` from the directory `{FOLDERNAME}/theme/icons/` to any file with the `.gif` extension.
This URL path is relative to your site's root.