Menu

QS_ErrorPage and QS_Client* directives

flymike
2020-07-23
2020-07-27
  • flymike

    flymike - 2020-07-23

    The QS_Client directives can only be used outside of virtual host configurations, so I can't figure out what directory QS_ErrorPage will look in with a URL of (say) /my_error_page.html
    It certainly cannot find that page in the default virtual host directory, as I have tried that. I've also tried placing the page in the directory of the virtual host which has been blocked by the QS_Client directive - but it doesn't find it there either.
    And I tried using a complete URL, including host, with QS_Error_Page, but that just forces it to try to access the blocked site.
    How do I use QS_ErrorPage within the context of a QS_Client directive?

     
  • Pascal Buchbinder

    The QS_ErrorPage directive (or variable) is used independently of the rule which blocks an HTTP request. The configured path must be accessible within the scope of the (virtual) host serving the request.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.