> Hi
>
> I tried to install the newer version of simpleSAMLphp. It seems that
> it cannot be installed on a shared hosting enviornment unless I find a
> way to set a <VirtualHost> in the .htaccess file rather than in
> httpd.conf file...Is this true?
Hmm, should not be neccessary...
Have you tried using Alias in .htaccess? I'm not sure if that work
If not, you could just put simplesamlphp in a directory that is
exposed on web, and go to the url.
Are you setting up an SP or IdP or both?
Andreas
>
>
> Hence, I tried installing the previous version but I'm getting an XML
> error:
>
> Unable to sign XML response. Please ensure that xmlsec is installed,
> and check your keys.
>
> Keys should be OK...I installed xmlsec however I'm not sure if the
> commad to run it is good. I'm using this code:
>
> $cmd = '/home2/gozosemi/keys/libxmlsec/bin/xmlsec sign --privkey-pem
> ' . $privKey .
> ' --pubkey-der ' . $pubKey . ' --output ' .
> $tempFileName .
> '.out ' . $tempFileName;
>
> The only thing that I changed from the sample code is the path for
> xmlsec.
>
> Any help will be much appreciated as I've been trying to make this
> work for the past month or so.
--
Andreas Åkre Solberg
=andreas
http://rnd.feide.no
That won't work either: "Context: server config, virtual host"
http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias
Like Andreas already pointed out, you just extract the software to
some place that is accessible by the webserver.
Cheers,
-peter
--
peter....@univie.ac.at - vienna university computer center
Universitaetsstrasse 7, A-1010 Wien, Austria/Europe
Tel. +43-1-4277-14155, Fax. +43-1-4277-9140
See http://rnd.feide.no/content/installing-simplesamlphp
The 'www' directory from simpleSAMLphp needs to be accessible to the
webserver, so goes into your public_html/ folder (or whatever it
is called on your hosting provider).
'baseurlpath' would need to match the URL where this 'www' foler is
visible to the webbrowser. e.g. if you move/rename the 'www' folder to
~/public_html/simplesaml this would be something like
'baseurlpath' => '/~user12345/simplesaml/'
At least from my reading of the docs.
cheers,
-peter
Warning: require_once(/~/public_html/simplesaml/lib/_autoload.php) [function.require-once]: failed to open stream: No such file or directory in /~/public_html/simplesaml/www/_include.php on line 23
Fatal error: require_once() [function.require]: Failed opening required '/~/public_html/simplesaml/lib/_autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/~/public_html/simplesaml/www/_include.php on line 23
I guess it's just a matter of getting basedir and baseurlpath right but I'm not sure what they should be!!! Any ideas will be most welcome.
Thanks again for your continous help and support.
>
> I'll update the documentation to in detail describe your scenario.
> Will post updated documentation and let you know how to proceed
> within an hour or so... Hold on....
Hi again.
I've updated the section on how to setup simpleSAMLphp in a hosted
environment with more details. Everything you need to know, should be
included there. If not, let us know.
Let us hear if this documentation section helps you out:
http://rnd.feide.no/content/installing-simplesamlphp#sect.altlocations
Kind regards
> Sorry, my bad.
> I guess the baseurlpath should be just "/"
If your in your home directory, it will be like '~/andreas/simplesaml'
if you do it this way
mv simplesamlphp/www ~/public_html/simplesaml
Andreas
> Thank you for your work.
>
> The documentation is very helpfull but still I'm not 100% there
> yet...When testing, the installation page is loaded but it is in
> plain text....no pictures and no layout...my guess is that the path
> to the templates directory needs to be changed. Am I right?
Probably it is related to the baseurlpath.
Can you please tell me your configured:
- baseurlpath, and
- the full URL where you have the home page of your simplesamphp
installation. In example: http://foo.com/~bar/baz
?
'baseurlpath' => '/home2/gozosemi/simplesaml/',
the url is: http://www.gozoseminary.com/simplesaml/
simplesamphp is inatalled at /home2/gozosemi/simplesamlphp/
Thank you for your continuous help and support.I misinterpreted the ~, thought it meant the whole path...
Thank you once more and keep up your excellent work.
Hi again,http://www.gozoseminary.com/simplesaml/ is working better now...but I'm still having problems to set up simpleSAMLphp as an IdP for Google Apps for Education. Of main concern are the Authentication modules...I cant understand what I need to do to set LDAP and which module I should use. The documentation is not very clear for a novice like me so once again any insight on these problems will be much appreciated...