Hey Adam, Thanks for your response.
I actually got it working. It turned out that it didn't like me having a separate function that returned the application, I couldn't quite see why that didn't work. The primary reason for wanting to do this was to inspect the environ 'SCRIPT_NAME' to avoid the (sym)link hack + basename. However, I have reverted to this. Incidentally, I did devel from wsgi -> fcgid as you described. :) Thanks. On 2 January 2014 17:10, Adam Young <ayo...@redhat.com> wrote: > On 12/27/2013 12:21 PM, Dave Walker wrote: > > Hey Mark, > > Thanks for your response. > > It is certainly an option, but I am attempting a deployment in a > prescriptive environment of Apache+fcgid. > > It looks like it should work... > > > I am the guy that origianlly got Keystone/Apache working, but I have to > admit no knowledge of mod_fcgid. It looks like there is some assumption of > the the output from the wsgi app that Keystone is not honoring. > > See if you can get it working with mod_wsgi first, so you are changing the > minimal number of things at once. Once you do that, please provide the > actual API call you are making that is causing the crash (it looks like you > are hitting the versions page, but I can't tell for certain. > > I assume that the app started up and provided logging. Is this correct? > > > > > > On Dec 27, 2013 5:08 PM, "Miller, Mark M (EB SW Cloud - R&D - Corvallis)" > <mark.m.mil...@hp.com> wrote: >> >> Dave, >> >> Have you tried Keystone under Apache2 using WSGI? >> >> http://andymc-stack.co.uk/2013/06/apache2-mod_wsgi-openstack-pt1-keystone/ >> >> Mark >> >> -----Original Message----- >> From: Dave Walker [mailto:em...@daviey.com] >> Sent: Friday, December 27, 2013 5:09 AM >> To: openstack@lists.openstack.org >> Subject: [Openstack] Keystone under Apache+fcgid? >> >> Hi, >> >> I am attempting to deploy keystone under Apache (mod_fcgid). >> >> Deploying Paste based applications this way seems to be rare, but there >> are documented examples. Annoyingly, I am unable to use Apache’ >> ScriptAlias directive. I do want keystone to run as an apache process, >> rather than a paster server. >> >> I have attempted to deploy using a .htaccess rewrite rule and an fcgi >> dispatcher here: >> http://pb.daviey.com/m4wi/ >> >> However, when I try to do a GET I am seeing this error here: >> http://pb.daviey.com/9R6J/ >> >> If I munge the data to be compliant, by only outputting the second value >> it does successfully continue.. I see “/v2.0 /v3 /”, which I think is merely >> an output of Paste’s urlmap. >> >> What am I doing wrong? >> >> Thanks >> >> -- >> Kind Regards, >> Dave Walker >> >> _______________________________________________ >> Mailing list: >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : openstack@lists.openstack.org >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack