Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

nginx server-side scripting doesn't work as intended with subrequest #129

Open
ahmubashshir opened this issue Jul 2, 2021 · 0 comments
Open

Comments

@ahmubashshir
Copy link

GET /requested/path/ with nginx server-side scripting

<title>Files <!--# echo var="document_uri" default="" --></title>

would generate.

<title>Files /requested/path/</title>

but it generates

<title>Files /static/header.html</title>

after configuring fancyindex header with subrequest.
it'd be great if we could access original request properties as something like $fancyindex_var_<orig-var> or $http_x_fancyindex_<var>

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant