0
有沒有辦法讓請求參數「轉發」到apache中的自定義錯誤文件,就像[QSA]在重寫規則中所做的一樣?轉發請求參數到自定義404頁面使用Apache中的ErrorDocument?
,如果我在www.foo.com/doesnotexist?bar=true
發送和我有這個虛擬主機中:
ErrorDocument 404 /customerrorpage
那麼它會調用customerrorpage有:
customerrorpage?bar=true
我可以證實Richard的建議很好。請接受他的回答:) –