redirection problem with mod ajp

Discussion in 'Site & Server Administration' started by sword101, Oct 5, 2010.

  1. #1
    hi all i have a redirection problem with mod ajp, that it always adds the application name before the desired page, for example:

    if i requested the page:

    http ://myapp.com/mypage

    it is converted to

    http ://myapp.com/myapp/mypage, and i get a 404 error

    i don't know why such behaviour occurs, this is the configuration:

    <Proxy *> AddDefaultCharset Off Order deny,allow Allow from all </Proxy> 
    ProxyPass / ajp://127.0.0.1:8009/myapp/ 
    ProxyPassReverse / 
    ajp://127.0.0.1:8009/myapp/ 
    ProxyPassReverseCookiePath /myapp/ 
    Code (markup):
    this strange redirection occurs exaclty when an inside application redirection occurs meaning after registration the user is redirected(application side) to the login page using response.sendRedirect , any ideas ?
     
    Last edited: Oct 5, 2010
    sword101, Oct 5, 2010 IP
  2. sword101

    sword101 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    post has been edited.
     
    sword101, Oct 5, 2010 IP