1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-01-17 19:18:15 +01:00

Adding webroot/htaccess to show off how friendly urls can be created for img.php.

This commit is contained in:
Mikael Roos 2014-12-03 16:06:16 +01:00
parent 2b6952b0ca
commit 7911a88d6e

View File

@ -10,7 +10,8 @@
# image/me.jpg?w=300 Using options to img.php.
#
# Subdirectories also work.
# img/me/me.jpg Direct access to the image.
# image/me/me.jpg Accessed through img.php.
# img/me/me.jpg Direct access to the image.
# image/me/me.jpg Accessed through img.php.
# image/me/me.jpg?w=300 Using options to img.php.
#
RewriteRule ^image/(.*)$ img/img.php?src=$1 [QSA,NC,L]