SimpleSAMLphp on Mac
Using Mac OS X 10.6.7, preinstalled Apache2 and PHP.
I'm trying to install SimpleSAMLphp for authentication. The documentation describes how to install simpleSAMLphp using a VirtualHost, but other ways are described very insufficiently.
Can someone describe ho开发者_如何学Pythonw to install SimpleSAMLphp without using a VirtualHost?
The configuration line you need is this:
Alias /simplesaml "/Users/andreas/simplesamlphp/www/"
in your Apache configuration, and if you are not using vhosts, you put it in the general config file. Put it close to DocumentRoot.
If you do not want to touch apache configuration files, you could simulate the same with a symlink.
cd <webroot>
ln -s "/Users/andreas/simplesamlphp/www/" simplesaml
I'd reccomend that you join the SimpleSAMLphp mailinglist to ask questions about simpleSAMLphp.
精彩评论