Fwd: [OpenID-LDAP-Dev] Problem with htaccess
Harm Verhagen
harm.verhagen+ml1 at gmail.com
Mon Feb 2 11:30:44 EET 2009
Hi,
You really want
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /*openid*/([A-Za-z0-9]+)\?(.*)\
HTTP/
instead of
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /*dir*/([A-Za-z0-9]+)\?(.*)\
HTTP/
Regards,
Harm
On Sun, Feb 1, 2009 at 6:13 AM, Jonathan Narvaez <jonaabd07 at gmail.com>wrote:
> I have a problem with configuration in the file .htaccess
> the rules are applied, but these do not work
>
> RewriteEngine On
>>
>> RewriteCond %{REQUEST_URI} !^/(.+)\.php(.*)$
>> RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /dir/([A-Za-z0-9]+)\?(.*)\
>> HTTP/
>> RewriteRule ^/openid/(.*)$
>> https://myurl/openid/index.php?user=%1&%2 [P]
>> RewriteCond %{REQUEST_URI} !^/(.+)\.php(.*)$
>> RewriteRule ^/openid/([A-Za-z0-9]+)$
>> https://myurl/openid/index.php?user=$1 [P]
>>
>
> I apply this test to see if it works mod_rewirte, and works fine
>
> http://www.wallpaperama.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html
>
> Thanks
> --
> Jonathan Narvaez
> SYSADMIN
>
> _______________________________________________
> openidldap-dev mailing list
> openidldap-dev at openid-ldap.org
> http://www.openid-ldap.org/mailman/listinfo/openidldap-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openid-ldap.org/pipermail/openidldap-dev/attachments/20090202/9cbaa5a3/attachment-0001.html
More information about the openidldap-dev
mailing list