Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Alex] All dynamic site rewrite to static URLs

Quote Reply
Re: [Alex] All dynamic site rewrite to static URLs In reply to
Hi

Thanks for the clarification I was getting a bit lost with all the different variants I was trying... It now seems to work pretty well

As I was saying I hadn't understood the inherent catch on build_url domain and how elements drilling down within that folder where also up for catch ;)
So thanks for explaining that.

I did, like pudog explains, have to update all the urls in the update_others part in order to get it working but believe it or not I'd figured that out last night (well impressed with myself Cool).

I also set up a <%site_url%> value that I use to precede any html files that need to be redirected via this rewrite :

RewriteRule ^([a-zA-Z0-9-]+)\.html /cgi-bin/page.cgi?p=$1 [L]

example http://www.domain.com/home.html or http://www.domain.com/toppopular.html (Laura's stats plug-in trend ranking)

Instead of <%build_root_url%>/toppopular.html I just use <%site_url%>/toppopular.html otherwise if I use the build_root_url I obviously end up with :

http://www.domain.com/mag/toppopular.html
which is redirected to /cgi-bin/page.cgi?g=$1 instead of /cgi-bin/page.cgi?p=$1

Also as you stated in your mail by adding the pass though option it enables me to use the code in my httpd.conf file whereas before I was having to use .htaccess files which I agree with pugdog is far less interesting for organizing everything from one place...

Thanks ever so much for all this feedback Smile

I'm not sure it's a home run yet but I'm well on the way with all this help !

Thanks, John
Significant Media
Subject Author Views Date
Thread All dynamic site rewrite to static URLs Jag 13115 Mar 29, 2005, 4:48 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
Alex 13010 Mar 29, 2005, 5:52 PM
Thread Re: [Alex] All dynamic site rewrite to static URLs
Jag 13005 Mar 29, 2005, 6:20 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
Alex 13003 Mar 29, 2005, 7:12 PM
Thread Re: [Alex] All dynamic site rewrite to static URLs
pugdog 12976 Mar 29, 2005, 9:49 PM
Thread Re: [pugdog] All dynamic site rewrite to static URLs
Alex 12949 Mar 29, 2005, 11:15 PM
Post Re: [Alex] All dynamic site rewrite to static URLs
pugdog 12880 Mar 30, 2005, 11:44 AM
Thread Re: [Alex] All dynamic site rewrite to static URLs
Jag 12925 Mar 30, 2005, 2:57 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12789 Apr 14, 2005, 6:34 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12809 Apr 14, 2005, 6:52 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12855 Apr 14, 2005, 8:00 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12827 Apr 14, 2005, 8:13 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12867 Apr 14, 2005, 8:28 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12831 Apr 14, 2005, 8:48 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12790 Apr 14, 2005, 8:56 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12820 Apr 14, 2005, 9:04 PM
Post Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12797 Apr 14, 2005, 9:07 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12795 Apr 14, 2005, 9:36 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
afinlr 12762 Apr 15, 2005, 12:26 AM
Thread Re: [afinlr] All dynamic site rewrite to static URLs
rgbworld 12765 Apr 15, 2005, 6:08 AM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12760 Apr 15, 2005, 5:02 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12759 Apr 15, 2005, 5:19 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12766 Apr 15, 2005, 6:08 PM
Post Re: [rgbworld] All dynamic site rewrite to static URLs
Andy 12675 Apr 16, 2005, 5:22 AM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12789 Apr 16, 2005, 12:37 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
ccunet 3412 Apr 16, 2005, 2:38 PM
Thread Re: [ccunet] All dynamic site rewrite to static URLs
Jag 3350 Apr 18, 2005, 4:15 PM
Post Re: [Jag] All dynamic site rewrite to static URLs
aus_dave 3345 Sep 1, 2005, 7:50 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 3462 Apr 17, 2005, 9:43 AM
Post Re: [rgbworld] All dynamic site rewrite to static URLs
afinlr 3426 Apr 17, 2005, 11:10 PM