Author: dumindu
Date: Tue Dec 11 03:20:58 2007
New Revision: 10958
Log:
Updated the php-sample README
Modified:
branches/solutions/identity/1.0/solutions/identity/modules/samples/php-sample/README
Modified:
branches/solutions/identity/1.0/solutions/identity/modules/samples/php-sample/README
==============================================================================
---
branches/solutions/identity/1.0/solutions/identity/modules/samples/php-sample/README
(original)
+++
branches/solutions/identity/1.0/solutions/identity/modules/samples/php-sample/README
Tue Dec 11 03:20:58 2007
@@ -8,10 +8,10 @@
Requirements:
- o Apache2 Web Server (2.2.X or better)
- o OpenSSL (0.9.8c or better)
+ o Apache2 Web Server (2.2.0 or better)
+ o libxml2 (2.6.20 or better)
+ o libxmlsec1 (1.2.0 or better)
o PHP (5.x)
- o JDK 1.5
Please follow the instructions listed below:
@@ -35,39 +35,21 @@
SSLCertificateKeyFile /usr/local/apache2/conf/keys/server.key
SSLCACertificateFile /usr/local/apache2/conf/keys/cacert.crt
-Step 2: Running the Token Verifier Service
-==========================================
-
-Please follow the Identity Provider installation guide and install the Token
-Verifier Service.
-
-Since the Identity Provider by default adds the localhost as a globally trusted
-relying party, no configuration is necessary there. (Please see the Identity
-Provider documentation for more information)
-
-Step 3: Installing the CardSpace Module and the Sample Web Application
+Step 2: Installing the CardSpace Module and the Sample Web Application
======================================================================
-Copy the mod_cspace.so file provided with the distribution to the modules
-directory of your apache installation. (usually /usr/lib/apache2/modules/)
+If you built mod_cspace using the source distribution, copy libmod_cspace.so
+file inside the .libs directory to the modules directory of your apache
+installation as mod_cspace.so. (/usr/lib/apache2/modules/ is the modules
+directory of a typical apache2 installation)
+
+In addition, you may install the module using the packages provided (.deb and
+.rpm), if you happen to be on one of the supported platforms.
Copy the "php-sample" directory to the document root of your Apache2
installation.
-Set the environment variable WSFC_HOME to point to the
-"wsf-c" directory inside the package extracted.
-(i.e., the package which contained this sample)
-
-Set the environment variable LD_LIBRARY_PATH to include the
-"wsf-c/lib" directory as well.
-
-For instance if your current working directory is where you have extracted the
-identity solution package:
-
-% export WSFC_HOME=`pwd`/wsf-c
-% export LD_LIBRARY_PATH=${WSFC_HOME}/lib
-
-Step 4: Configuring Apache2 (httpd.conf)
+Step 3: Configuring Apache2 (httpd.conf)
========================================
Following configuration should be done in your httpd.conf file of the apache
@@ -93,11 +75,14 @@
* For further information on the configuration derectives that can be used
with mod_cspace please refer to the module configuration guide.
-Step 5: Run Apache2 server and try logging in to the web app
-============================================================
+Step 4: Run Apache2 server and try to login ot the web app
+==========================================================
+
+Point your browser to the location you have installed the web application. If
+you followed this guide properly, it will be "https://localhost/php-sample"
+
+Now you can try out the sample web application.
-Point your browser to the location you have installed the web application. Now
-you can try out the sample web application.
IMPORTANT:
* You must use IE 7 or any other browser has CardSpace authentication
support.
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev