Thank you for all the help I finally figured it out when I realized that calling the script from the browser should not result in it being rendered in text form. There turned out to be a number of issues. First of all I didn't have the mod_fcgi module enabled though I did have it installed. But even after fixing that, the webui.fcgi wouldn't get run because I was missing the ExecCgi flag in the apache2 configuration.
    Thanks again,
        Drf

On 08/07/15 15:50, Oliver Welter wrote:
Am 08.07.2015 um 14:05 schrieb Dan Rosendorf:

The webui.fcgi is called with "/cgi-bin/webui.fcgi", can you please
check if you can access the script and if it works. It should answer
with a json encoded message "goto:login".

After a couple issues with privileges (which I ended up solving by using
sudo) the webui.fcgi (run from the command line) did answer with a json
encoded message "goto:login". It feels to me as if possibly the apache
is not executing the webui.fcgi as a perl script or something like that.
Is that even possible?

Have you tried to call the script from the browser as suggested? The apache server has a default location for CGI Scripts which have special permissions inside apache. On Ubuntu this should be /usr/lib/cgi-bin/ - you need to put your script there and give it executable permissions. Besides you need mod_fcgi or at least mod_cgi (which will result in a very slow UI) enabled in your server.

Oliver



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to