*
wenluo...@gmail.com <
wenluo...@gmail.com> [2018-01-13 10:56]:
> I have extracted the archive file to the *"www"* directory and make the
> Apache configuration like this( there is also a *"www" *directory ):
Why? Install the software *anywhere* on the machine, outside the
webserver's web root. Then add an Alias directory as per the
documentation.
> DocumentRoot D:/wamp/www/simplesamlphp/www/index.php
As per Apache httpd configuration DocumentRoot needs to point to a
directory, not a file:
http://httpd.apache.org/docs/2.4/en/mod/core.html#documentroot
> SetEnv SIMPLESAMLPHP_CONFIG_DIR D:/wamp/www/simplesamlphp/config
I've never had the need to set this.
> Alias /simplesaml D:/wamp/www/simplesamlphp/www
That should be the only thing you need, but you should probably move
your SimpleSAMLphp installation elsewhere, e.g. to /usr/local or /opt
or anywhere else.
> <Directory /var/simplesamlphp/www>
That's pointless if you have SimpleSAMLphp in
D:/wamp/www/simplesamlphp/www
(I.e., you're setting a directive here for something that doesn't
exist. It won't do any damage, but it won't do anything useful
either.)
> and the result show like this(I don't know why):
Don't post URLs to pixels that represent text. Instead copy and paste
> Can you tell me How to make the Apache configuration file when
> install simplesamlphp on wamp?
By following SimpleSAMLphp documentation, and adapting it as needed
for your own environment. (Obviously the UNIX paths given in the
SimpleSAMLphp documentation don't apply to MS-Windows servers. If you
don't know how to use MS-Windows paths instead you're probably not
best suited to run security server software.)
-peter