Talk:Apache user authentication multiplexing: Difference between revisions

From RavenWiki
Jump to navigationJump to search
(Added corrective follow-up to previous note)
(Difficulties multiplexing with the SRCF's cgi-handler)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This used to work for me on Apache 2.0.x, but I'm having trouble getting it to work on Apache 2.2.x. At first I got as far as being bounced to Raven and back, but got a "CGI error 500: no / at start of path" message when accessing any of the protected pages following authentication.


Having had a look at the rewrite rules, it looks like there's something fishy with the 'REDIRECT_IU' variable, since it's read but never set. I guessed that 'IU' in the second paragraph of rewrite rules should maybe say 'REDIRECT_IU'. This changes the flavour of 500 error page I get, but makes effectively no difference.


Suggestion would be welcome. I'll try replicating the set-up on my own Apache, since at the moment I'm using the SRCF's and therefore don't have access to the error logs.
== Difficulties multiplexing with the SRCF's cgi-handler ==
--[[User:srk31|srk31]] 17:29, 17 January 2008 (UTC)


It turns out that these rewrite rules are not the problem, that the 'IU' variable name is indeed correct (though I'm not sure why), and that I can read the error logs (though can't change them to debug mode). I'll remove this unfortunately spurious discussion (with myself) shortly. --[[User:srk31|srk31]] 12:30, 19 January 2008 (UTC)
The [http://www.srcf.ucam.org/ SRCF's] cgi-handler runs into an issue where an "redirect:" URL that should only be internal to Apache processing interferes with the completion of the necessary internal subrequests. I believe that I was able to work around this (without examining the cgi-handler!) by a similar multiplexing scheme - I instead symlinked subdirectories of the different authentication paths to the same content. If it's found to work for the user who raised the issue, I will post it somewhere here on the Raven wiki. -- [[User:dme26|dme26]]

Latest revision as of 21:51, 9 March 2009


Difficulties multiplexing with the SRCF's cgi-handler

The SRCF's cgi-handler runs into an issue where an "redirect:" URL that should only be internal to Apache processing interferes with the completion of the necessary internal subrequests. I believe that I was able to work around this (without examining the cgi-handler!) by a similar multiplexing scheme - I instead symlinked subdirectories of the different authentication paths to the same content. If it's found to work for the user who raised the issue, I will post it somewhere here on the Raven wiki. -- dme26