mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 18:11:52 -04:00
List artwork by artist via /artworks/<artist-name>
This commit is contained in:
parent
780be15ed0
commit
cad2f5f730
8 changed files with 63 additions and 12 deletions
|
@ -296,6 +296,8 @@ Define webroot /standardebooks.org/web
|
|||
RewriteRule ^/bulk-downloads/([^/\.]+)$ /bulk-downloads/collection.php?class=$1
|
||||
|
||||
# Rewrite rules for cover art
|
||||
RewriteRule ^/artworks/([^\./]+?)$ /artworks/artist.php?artist-url-name=$1 [L]
|
||||
|
||||
RewriteCond expr "tolower(%{REQUEST_METHOD}) =~ /^get$/"
|
||||
RewriteRule ^/artworks/([^/\.]+)/([^/\.]+)$ /artworks/get.php?artist-url-name=$1&artwork-url-name=$2 [L]
|
||||
|
||||
|
|
|
@ -278,6 +278,8 @@ Define webroot /standardebooks.org/web
|
|||
RewriteRule ^/bulk-downloads/([^/\.]+)$ /bulk-downloads/collection.php?class=$1
|
||||
|
||||
# Rewrite rules for cover art
|
||||
RewriteRule ^/artworks/([^\./]+?)$ /artworks/artist.php?artist-url-name=$1 [L]
|
||||
|
||||
RewriteCond expr "tolower(%{REQUEST_METHOD}) =~ /^get$/"
|
||||
RewriteRule ^/artworks/([^/\.]+)/([^/\.]+)$ /artworks/get.php?artist-url-name=$1&artwork-url-name=$2 [L]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue