You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to establish vanity redirects to land on Conifer pages via nginx, but it seems that having the $ in the destination url causes an invalid variable name "$" in nginx. This is due to variable interpolation. I thought to work around this by replacing the $ with the encoded %24, but it does not seem that Confier currently supports this.
There is a workaround for this which is what I would like to implement as a last resort: nginx escaping dollar.
After some reading of the user guide, and trial and error, I thought to then try to navigate to a confier page without the $br:<preconfigured browser>:<version> in the url; however, it appears that in order to render Flash archived pages, the $br:chrome:76 param is needed in order to determine Flash support for the remote browser.
# nginx entry
location = /aitken {
return 301 <substitute 1,2,3 examples below>;
break;
}
# 1. "As is" - nginx error, invalid variable name "$"
https://conifer.rhizome.org/nyarc/moma-doug-aitken/20201214151519$br:chrome:76/https://www.moma.org/interactives/exhibitions/2007/aitken/
# 2. Replace $ with %24 - navigates to Conifer, but captuerd page fails to load
https://conifer.rhizome.org/nyarc/moma-doug-aitken/20201214151519%24:chrome:76/https://www.moma.org/interactives/exhibitions/2007/aitken/
# 3. Without $br:browser:version - navigates to Conifer, but Flash does not render
https://conifer.rhizome.org/nyarc/moma-doug-aitken/20201214151519/https://www.moma.org/interactives/exhibitions/2007/aitken/
Please advice is there is another approach!
Otherwise, may I request an enhancement for the processing of Conifer urls that encode $ as%24?
Thank you!
The text was updated successfully, but these errors were encountered:
I am trying to establish vanity redirects to land on Conifer pages via nginx, but it seems that having the
$
in the destination url causes aninvalid variable name "$"
in nginx. This is due to variable interpolation. I thought to work around this by replacing the$
with the encoded%24
, but it does not seem that Confier currently supports this.There is a workaround for this which is what I would like to implement as a last resort: nginx escaping dollar.
After some reading of the user guide, and trial and error, I thought to then try to navigate to a confier page without the
$br:<preconfigured browser>:<version>
in the url; however, it appears that in order to render Flash archived pages, the$br:chrome:76
param is needed in order to determine Flash support for the remote browser.Please advice is there is another approach!
Otherwise, may I request an enhancement for the processing of Conifer urls that encode
$
as%24
?Thank you!
The text was updated successfully, but these errors were encountered: