是否可以configurationApache直接在特定位置返回内容? 没有实际创build一个文件的任何地方与该内容。 就像是:
<location /custom-location.txt> <responsebody>hello world!</responsebody> </location>
据我所知,你只有这个选项的错误信息,即:
ErrorDocument 404 "Sorry but the requested resource can't be found."