[Solar-talk] Zend versus Solar the Rewrite
Rodrigo Moraes
rodrigo.moraes at gmail.com
Wed Sep 26 12:18:28 CDT 2007
On 9/26/07, Kilbride, James P. wrote:
> So one thing zend does is suggest you rewrite your url's using mod_rewrite
> so they go to index.php automatically. I have to say http://127.0.0.1/hello
> looks a lot better than http://127.0.0.1/index.php/hello to
> me. So is Solar compatible with the same basic rewrite rules as zend was?
Solar allows you to remove the "index.php" part easily. All you need
is mod_rewrite / RedirectMatch in Apache or mod_magnet in Lighttpd. I
bet there are even more alternatives :). In Apache, you'd use
directives in .htaccess; in Lighttpd, you would tie mod_magnet to a
script in your preferred language. Then you configure Solar_Uri_Action
to remove the index.php.
-- rodrigo
More information about the Solar-talk
mailing list