SOURCES: phpMyID-apache.conf - from phpMyID-0.6/htaccess

glen glen at pld-linux.org
Tue Oct 16 05:24:28 CEST 2007


Author: glen                         Date: Tue Oct 16 03:24:28 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from phpMyID-0.6/htaccess

---- Files affected:
SOURCES:
   phpMyID-apache.conf (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/phpMyID-apache.conf
diff -u SOURCES/phpMyID-apache.conf:1.1 SOURCES/phpMyID-apache.conf:1.2
--- SOURCES/phpMyID-apache.conf:1.1	Tue Oct 16 05:23:45 2007
+++ SOURCES/phpMyID-apache.conf	Tue Oct 16 05:24:23 2007
@@ -1,4 +1,26 @@
 Alias /phpMyID /usr/share/phpMyID
 <Directory /usr/share/phpMyID>
 	Allow from all
+
+# If you are running PHP in CGI mode you will need to add one set of these
+# directives to your .htaccess file, or your virtualhost configuration.
+#
+# The easiest way to do so is to simply rename this file ".htaccess"
+
+# Option 1, mod_rewrite (req)
+#RewriteEngine on
+#RewriteCond %{HTTP:Authorization} !^$
+#RewriteCond %{QUERY_STRING} openid.mode=authorize
+#RewriteCond %{QUERY_STRING} !auth=
+#RewriteCond %{REQUEST_METHOD} =GET
+#RewriteRule (.*) %{REQUEST_URI}?%{QUERY_STRING}&auth=%{HTTP:Authorization} [L]
+
+
+# Option 2, mod_rewrite (env)
+#RewriteEngine on
+#RewriteRule \.php$ - [E=PHP_AUTH_DIGEST:%{HTTP:Authorization},L]
+
+
+# Option 3, mod_setenvif
+#SetEnvIf Authorization "(.*)" PHP_AUTH_DIGEST=$1
 </Directory>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/phpMyID-apache.conf?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list