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
elseif svar == 'script_filename' then -- %{SCRIPT_FILENAME}
replace = ngx.var['fastcgi_script_name']
if not replace or replace == '' then
replace = ngx.var['request_filename']
else
replace = (ngx.var['document_root']..'/'..script_filename):gsub('/+', '/')
end
replace = script_filename
Seems like the last line replace = script_filename is odd or condition block should be removed.
The following simple .htaccess file produces 500 error:
Error:
The text was updated successfully, but these errors were encountered: