Ticket #408 (accepted defect)
Symfony formats won't work with default Apostrophe's .htaccess file
| Reported by: | alejandrogarcia | Owned by: | tboutell |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.5.2 |
| Component: | apostrophePlugin | Version: | 1.5 |
| Keywords: | htaccess | Cc: | team@… |
| Symfony version: | 1.4 |
Description
There comes with Apostrophe's sandbox a .htacces file in the web/ directory that uncomments three lines that are commented in Symfony's default .htaccess. Those are lines 23, 24 and 25 in Apostrophe's .htaccess.
RewriteCond %{REQUEST_URI} \..+$
RewriteCond %{REQUEST_URI} !\.html$
RewriteRule .* - [L]
These three lines uncommented makes it impossible to use Symfony formats (ie, URLs ending in .xml or .json), you get a web server's 404 error. Are these uncommented for any specific functionality in Apostrophe? I enclose a patch (please check if its first two lines are OK, it's the first patch I made).

