[Solar-talk] Zend versus Solar the Rewrite

Kilbride, James P. James.Kilbride at gd-ais.com
Wed Sep 26 12:32:16 CDT 2007


Aka,

Exactly the same as Zend. Good to know.

James Kilbride 

-----Original Message-----
From: solar-talk-bounces at lists.solarphp.com
[mailto:solar-talk-bounces at lists.solarphp.com] On Behalf Of Rodrigo
Moraes
Sent: Wednesday, September 26, 2007 1:18 PM
To: solar-talk at lists.solarphp.com
Subject: Re: [Solar-talk] Zend versus Solar the Rewrite

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
_______________________________________________
Solar-talk mailing list
Solar-talk at lists.solarphp.com
http://mailman-mail3.webfaction.com/listinfo/solar-talk



More information about the Solar-talk mailing list