Menu

QS_ErrorPage

2010-09-23
2013-05-23
  • Hans Meiser

    Hans Meiser - 2010-09-23

    Hello,

    its me again ;)

    Question to QS_ErrorPage
    Parameter for QS_ErrorPage is a Url relative to current host.  Is it possible to set a real url to send errorpage from other host/server and not the one which is already overloaded?
    The current solution requires a document within each VHost.

    Thanks,
    Hans

     
  • Pascal Buchbinder

    mod_qos 9.28 allows you to specify an absolute URI like http://server.mydomain.org/error.html. This causes mod_qos to send a HTTP redirect (302) to the client which then loads the error page form the specified URI.

     
  • Hans Meiser

    Hans Meiser - 2010-09-27

    hmm,i tried 9.28 but is not working for me.
    apache is not restarting and checkconf tells:
    QS_ErrorPage: requires absolute path (http://www.example.com/index.php)

    Hans

     
  • Pascal Buchbinder

    Correct. I haven't changed the syntax check yet (I catch up this with the next release). But you may set an absolute path using the SetEnvIf directive of mod_setenvif, e.g.

    SetEnvIf Request_URI / QS_ErrorPage=http://www.example.com/index.php
    
     
  • Hans Meiser

    Hans Meiser - 2010-09-28

    ok, this is working. but i prefer to wait for next release…

    Thanks,
    Hans

     

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.