Hi Supun,
Thanks for the info. Adding the Virtual Host along with the Allow Overrides
directive solved the URL issues. I put it at the bottom of
/etc/httpd/conf/httpd.conf for now, yum defaults to installing Apache 2.2 which
doesn’t have the same sites-available directory structure.
e.g.
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/portal/public
ServerName pga.example.com
<Directory "/var/www/html/portal/public">
AllowOverride all
</Directory>
ErrorLog logs/pga_error_log
CustomLog logs/pga--access_log common
</VirtualHost>
Trying to create a new user account gives me a SOAP/WSDL error:
From the apache log file:
[Tue Aug 18 18:20:43 2015] [error] [client 10.0.2.2] PHP Fatal error:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://id
p.scigap.org:7443/services/RemoteUserStoreManagerService?wsdl' : failed to load
external entity "https://idp.scigap.org:7443/se
rvices/RemoteUserStoreManagerService?wsdl"\n in
/var/www/html/portal/app/libraries/Wsis/Stubs/UserStoreManager.php on line 22,
referer: http://localhost:8081/create
Any thoughts on what this might be?
Thanks!
Simon.
--
Simon Twigger, Ph.D.
Senior Scientific Consultant
BioTeam - Enabling Science, http://bioteam.net
Email: [email protected]
Tel: 1-303-991-0459
Toll Free: 1-877-246-2992 Ext. 111
> On Aug 18, 2015, at 12:15 PM, Supun Nakandala <[email protected]>
> wrote:
>
> Hi Simon,
>
>
> On Tue, Aug 18, 2015 at 11:15 PM, Simon Twigger <[email protected]
> <mailto:[email protected]>> wrote:
> Hi there,
>
> I have PGA generally up and running on a Centos 6.5 VM running on vagrant on
> my mac. I have a few questions related to the basic set up and config:
>
> * WSIS authentication - the pga_config comes preconfigured to point to
> scigap.org <http://scigap.org/> for the identity server, is an account on
> scigap (or some similar authentication server) a requirement in order to be
> able to log in to a PGA instance or can I create a local account just to be
> able to get in and test the UI locally?
> Yes. You can create a user account using create account page and start using
> PGA. That user account is getting created in scigap.org <http://scigap.org/>
> (testing) identity server.
>
> * webserver configuration - Im running apache 2.2, is there a recommended way
> to configure the httpd.conf (e.g. a VirtualHost block) to point to the
> correct root URLs (e.g /portal/public/index.php/home) and so that the
> associated images in public/assets load correctly when I visit this home URL
> (currently the images are not found if I visit /portal/public/index.php/home
> but they do load correctly at /portal/public (but then the login URL doesn’t
> work, etc)
>
> For this you need to set AllowOverride None to AllowOverride All in the
> default vhost configuration file. (e.g file location is
> /etc/apache2/sites-available/default and there should be two places where you
> want to change).
>
> We have a wiki page containing instructions on how to setup PGA in different
> environments [1] which I think will be helpful to you.
>
> Simon.
>
>
> --
> Simon Twigger, Ph.D.
> Senior Scientific Consultant
> BioTeam - Enabling Science, http://bioteam.net <http://bioteam.net/>
>
> Email: [email protected] <mailto:[email protected]>
> Tel: 1-303-991-0459
> Toll Free: 1-877-246-2992 Ext. 111
>
>
>
>
> [1] -
> https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+02+-+Locally+installed+PGA+with+Hosted+Airavata
>
> <https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+02+-+Locally+installed+PGA+with+Hosted+Airavata>
>
> Thanks
> Supun