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:
parent
2b6952b0ca
commit
7911a88d6e
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user