[OpenID-LDAP-Dev] Problem with htaccess
Jonathan Narvaez
jonaabd07 at gmail.com
Mon Feb 2 15:35:29 EET 2009
and replace the dir for openid and does not work :(
--
Jonathan Narvaez
SYSADMIN
On Mon, Feb 2, 2009 at 3:14 AM, Harm Verhagen
<harm.verhagen+ml1 at gmail.com<harm.verhagen%2Bml1 at gmail.com>
> wrote:
> 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/080f8ccd/attachment.html
More information about the openidldap-dev
mailing list