bcampbell / journalisted

11 stars 7 forks source link

.htaccess regex preventing API methods #1

Closed symroe closed 13 years ago

symroe commented 13 years ago

Line 12 (https://github.com/bcampbell/journalisted/blob/master/jl/web/.htaccess#L12) of .htaccess has the following:

^api/(get.*)$

This will match all methods starting with 'get', but there are 2 starting 'find'.

I believe this change would fix it:

^api/([get|find].*)$

bcampbell commented 13 years ago

Thanks - Should all be sorted now... (fingers crossed :-)

symroe commented 13 years ago

Excellent, many thanks :)