Ticket #1029 (closed defect: wontfix)
Fix the lighty url rewriting
| Reported by: | mpeel | Owned by: | mpeel |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | CMS - Installer | Version: | |
| Severity: | medium effort / impact | Keywords: | |
| Cc: | Hours: |
Description
Modify this rewrite rule:
[12:57:58] [jdash]: url.rewrite = ( [12:57:59] [jdash]: "^/(typo3|xcache-admin|ioncube|diag|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico|phpinfo\.php).*$$ [12:58:01] [jdash]: "^/typo3$" => "/typo3/index_re.php", [12:58:03] [jdash]: ".*" => "index.php" [12:58:05] [jdash]: ) [12:58:06] [jdash]: This would probably work, just changing the settings obviously
We need to make sure it'll work for us, it might not. We want .pdf, .jpg files etc NOT to go through sapphire/main.php, but everything else should (See a .htaccess file for appropriate file extensions to ignore).
Document it if it works for the Windows installer somewhere on the Wiki.
Note that there is already a url rewrite rule in the lighttpd.conf file, so make sure you remove the 404 handler and the existing rewrite rule first.
Change History
Note: See
TracTickets for help on using
tickets.
