[Freeipa-devel] [PATCH] limit mod_rewrite rule

Rob Crittenden rcritten at redhat.com
Thu Aug 21 13:50:33 UTC 2008


Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Rob Crittenden wrote:
>> Stephen Gallagher wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Rob Crittenden wrote:
>>>> Limit the mod_rewrite rules to just /ipa to play nice with cobbler.
>>>>
>>>> We will still rewrite any request to / to the IPA ui by default but that
>>>> can be easily disabled by the end-user.
>>>>
>>>> rob
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Freeipa-devel mailing list
>>>> Freeipa-devel at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>>> One question: shouldn't the rewrite rule for the favicon.ico remain in
>>> the root?
>> Excellent catch. I'll need to add this rule (and remove favicon.ico from
>> the list)
>>
>> RewriteCond %{REQUEST_URI}  !^/favicon.ico
>>
>> rob
> 
> Assuming that change:
> ack
>

As it turns out we don't need a special rule for favicon.ico anymore. 
The redirect rule only applies for things in /ipa so doesn't apply to 
/favicon.ico. I removed that rule.

Pushed to master.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080821/2dd0b90e/attachment.bin>


More information about the Freeipa-devel mailing list