1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-01-17 11:08:14 +01:00

make htacces work in its current environment.

This commit is contained in:
Mikael Roos 2015-10-22 16:43:16 +02:00
parent 3667082f15
commit a62425e759
2 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,12 @@ Revision history
[![Build Status](https://scrutinizer-ci.com/g/mosbth/cimage/badges/build.png?b=master)](https://scrutinizer-ci.com/g/mosbth/cimage/build-status/master)
v0.7.7* (2015-10-21)
-------------------------------------
* Change path in `webroot/htaccess` to make it work in current environment.
v0.7.7 (2015-10-21)
-------------------------------------

View File

@ -5,7 +5,6 @@
#
# img A directory where all images are stored
# img/me.jpg Access a image as usually.
# img/img.php This is where I choose to place img.php (and img_config.php).
# image/me.jpg Access a image though img.php using htaccess rewrite.
# image/me.jpg?w=300 Using options to img.php.
#
@ -15,4 +14,4 @@
# image/me/me.jpg?w=300 Using options to img.php.
#
RewriteEngine on
RewriteRule ^image/(.*)$ img/img.php?src=$1 [QSA,NC,L]
RewriteRule ^image/(.*)$ img.php?src=$1 [QSA,NC,L]