Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

login page redirection URL apache problem

Help
2009-02-02
2013-06-03
  • Diab Jerius
    Diab Jerius
    2009-02-02

    I have installed version 1.9.8 on a Debian Etch system running apache 2.2.3.   When I access the application via

    http://cdaops.cfa.harvard.edu/codestriker

    It generates a redirection with the following URL (note the escaped characters)

    http://cdaops.cfa.harvard.edu/codestriker/login/form/redirect/http%3A%2F%2Fcdaops.cfa.harvard.edu%2Fcodestriker%2F

    apache doesn't appear to like the encoded characters; it returns a 404 with the message:

    The requested URL /codestriker/login/form/redirect/http://cdaops.cfa.harvard.edu/codestriker/ was not found on this server.

    If I modify Codestriker::Http::Method::LoginMethod::url (the code path with $self->{cgi_style} = 0) so that the redirected URL is not escaped, apache accepts the resultant URL and I am directed to the login page.

    I'm a bit puzzled by the behavior; I'm not aware of an apache configuration which would cause it.

    Any help would be appreciated.

    Thanks,

    Diab

     
    • David Sitsky
      David Sitsky
      2009-02-02

      What about if you go to the following URL?

      http://cdaops.cfa.harvard.edu/codestriker/codestriker.pl

      I'd need to see your apache config to help more, but the above URL should be the starting point.  The one you supplied isn't really supported as a starting point - the REST interface which it activated is still experimental.

       
      • Diab Jerius
        Diab Jerius
        2009-02-02

        Whoops!  False alarm! While simplifying the server configuration file before posting it I discovered that I'd made a transcription error in the apache ScriptAlias directive.  Next time I'll just cut & paste!

        Thanks for the quick reply.  Sorry for the line noise.