mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
Artwork: Rewrite rules for artwork editing
This commit is contained in:
parent
987de26b73
commit
813d4f601c
2 changed files with 4 additions and 0 deletions
|
@ -302,6 +302,8 @@ Define webroot /standardebooks.org/web
|
||||||
RewriteCond expr "tolower(%{REQUEST_METHOD}) =~ /^post$/"
|
RewriteCond expr "tolower(%{REQUEST_METHOD}) =~ /^post$/"
|
||||||
RewriteRule ^/artworks/([^/\.]+)/([^/\.]+)$ /artworks/post.php?artist-url-name=$1&artwork-url-name=$2 [L]
|
RewriteRule ^/artworks/([^/\.]+)/([^/\.]+)$ /artworks/post.php?artist-url-name=$1&artwork-url-name=$2 [L]
|
||||||
|
|
||||||
|
RewriteRule ^/artworks/([^/\.]+)/([^/\.]+)/edit$ /artworks/edit.php?artist-url-name=$1&artwork-url-name=$2 [L]
|
||||||
|
|
||||||
# Specific config for /bulk-downloads
|
# Specific config for /bulk-downloads
|
||||||
<DirectoryMatch "${webroot}/www/bulk-downloads">
|
<DirectoryMatch "${webroot}/www/bulk-downloads">
|
||||||
# Both directives are required
|
# Both directives are required
|
||||||
|
|
|
@ -284,6 +284,8 @@ Define webroot /standardebooks.org/web
|
||||||
RewriteCond expr "tolower(%{REQUEST_METHOD}) =~ /^post$/"
|
RewriteCond expr "tolower(%{REQUEST_METHOD}) =~ /^post$/"
|
||||||
RewriteRule ^/artworks/([^/\.]+)/([^/\.]+)$ /artworks/post.php?artist-url-name=$1&artwork-url-name=$2 [L]
|
RewriteRule ^/artworks/([^/\.]+)/([^/\.]+)$ /artworks/post.php?artist-url-name=$1&artwork-url-name=$2 [L]
|
||||||
|
|
||||||
|
RewriteRule ^/artworks/([^/\.]+)/([^/\.]+)/edit$ /artworks/edit.php?artist-url-name=$1&artwork-url-name=$2 [L]
|
||||||
|
|
||||||
# Specific config for /bulk-downloads
|
# Specific config for /bulk-downloads
|
||||||
<DirectoryMatch "${webroot}/www/bulk-downloads">
|
<DirectoryMatch "${webroot}/www/bulk-downloads">
|
||||||
# Both directives are required
|
# Both directives are required
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue