Re: Using mod_rewrite
Re: Using mod_rewrite
- Subject: Re: Using mod_rewrite
- From: Chuck Hill <email@hidden>
- Date: Tue, 13 Jul 2004 11:46:07 -0700
On Jul 13, 2004, at 11:30 AM, Amorya North wrote:
OK, my partner for the site I'm developing has decided that he doesn't
like the URLs Webobjects makes. So we're looking into mod_rewrite. I
have a few issues...
Sounds like it is your partner that has the issues. :-)
I can understand (pretty much) how to set up the rewrite rules to
allow nicer URLs. But here's my problems.
1: how do I make the internal links WebObjects generates go to the
nicely rewritten URL?
Write your own URL generation engine or sub-class and rewrite parts of
WOContext (not sure that will do all that needs to be done...)
2: if I do that, what happens when I'm developing my app? If it only
links to the rewritten URLs, it won't run on my computer when in
development mode. Is this problem easily solvable?
Yes, run Apache on your dev machine.
3: will mod_rewrite play nice with both direct actions _and_ normal
(/wo/) links?
Yes, if your rules are written to accommodate this.
Chuck
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.