mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 18:11:52 -04:00
Merge reset.css into core.css, and add settings page for specifying dark mode preferences
This commit is contained in:
parent
27d081b644
commit
11224136d1
9 changed files with 272 additions and 196 deletions
|
@ -138,6 +138,14 @@ Define domain standardebooks.org
|
|||
ProxySet connectiontimeout=5 timeout=240
|
||||
</Proxy>
|
||||
|
||||
# In RewriteCond, RewriteRule gets evaluated BEFORE RewriteCond, so $1 refers to the first
|
||||
# match in RewriteRule
|
||||
# Rewrite POST /some/url -> POST /some/url/post.php
|
||||
RewriteCond %{REQUEST_METHOD} ^POST$
|
||||
RewriteCond %{DOCUMENT_ROOT}/$1/ -d
|
||||
RewriteCond %{DOCUMENT_ROOT}/$1/post.php -f
|
||||
RewriteRule ^([^\.]+)$ $1/post.php [L]
|
||||
|
||||
# In case of 404, serve the 404 page specified by ErrorDocument, not the default FPM error page.
|
||||
# Note that we can't use `ProxyErrorOverride on` because that catches ALL 4xx and 5xx HTTP headers
|
||||
# and serves the default Apache page for them.
|
||||
|
|
|
@ -137,6 +137,14 @@ Define domain standardebooks.test
|
|||
ProxySet connectiontimeout=5 timeout=240
|
||||
</Proxy>
|
||||
|
||||
# In RewriteCond, RewriteRule gets evaluated BEFORE RewriteCond, so $1 refers to the first
|
||||
# match in RewriteRule
|
||||
# Rewrite POST /some/url -> POST /some/url/post.php
|
||||
RewriteCond %{REQUEST_METHOD} ^POST$
|
||||
RewriteCond %{DOCUMENT_ROOT}/$1/ -d
|
||||
RewriteCond %{DOCUMENT_ROOT}/$1/post.php -f
|
||||
RewriteRule ^([^\.]+)$ $1/post.php [L]
|
||||
|
||||
# In case of 404, serve the 404 page specified by ErrorDocument, not the default FPM error page.
|
||||
# Note that we can't use `ProxyErrorOverride on` because that catches ALL 4xx and 5xx HTTP headers
|
||||
# and serves the default Apache page for them.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue