Hello David,
Thank you for this report of a problem using the hgLogin CGI from a subdirectory and for your suggested patch to hgLogin.c. I have responded to this question as part of a response to your previous query at: https://groups.google.com/a/soe.ucsc.edu/d/topic/genome-mirror/_eiIX_J_cqs/discussion.
I hope this is helpful. If you have any further questions, please reply to gen...@soe.ucsc.edu or genome...@soe.ucsc.edu. Questions sent to those addresses will be archived in publicly-accessible forums for the benefit of other users. If your question contains sensitive data, you may send it instead to genom...@soe.ucsc.edu.
--
Jonathan Casper
UCSC Genome Bioinformatics Group
David Hoover
CIT/NIH
--