具有变量的Apache ErrorDocument外部重定向

Pyk*_*ler 7 apache errordocument

这样的事情在Apache中是可能的......(即重定向到外部URL,导致传递403错误的路径)

ErrorDocument 403 http://www.sample.com/{{REDIRECT_URL}}
Run Code Online (Sandbox Code Playgroud)

mim*_*miz -1

我认为这是可能的,正如文档所说.. http://httpd.apache.org/docs/2.0/mod/core.html#errordocument

也许是这样:

ErrorDocument 403 http://www.sample.com/?do=somthing
Run Code Online (Sandbox Code Playgroud)