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

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

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

You generally don't need d=1 passed in at all. If you:

a. Set your build_root_url to http://domain.com/mag/
b. Setup a rewrite rule:

RewriteRule /mag/?(.*) /cgi-bin/page.cgi?g=$1 [L]

That's all you need. All the URL's Links SQL creates will be static (new, cool, category, home, etc), and rewrite will automatically send it to page.cgi.

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread All dynamic site rewrite to static URLs Jag 13116 Mar 29, 2005, 4:48 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
Alex 13012 Mar 29, 2005, 5:52 PM
Thread Re: [Alex] All dynamic site rewrite to static URLs
Jag 13006 Mar 29, 2005, 6:20 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
Alex 13004 Mar 29, 2005, 7:12 PM
Thread Re: [Alex] All dynamic site rewrite to static URLs
pugdog 12978 Mar 29, 2005, 9:49 PM
Thread Re: [pugdog] All dynamic site rewrite to static URLs
Alex 12951 Mar 29, 2005, 11:15 PM
Post Re: [Alex] All dynamic site rewrite to static URLs
pugdog 12881 Mar 30, 2005, 11:44 AM
Thread Re: [Alex] All dynamic site rewrite to static URLs
Jag 12926 Mar 30, 2005, 2:57 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12790 Apr 14, 2005, 6:34 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12810 Apr 14, 2005, 6:52 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12856 Apr 14, 2005, 8:00 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12828 Apr 14, 2005, 8:13 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12869 Apr 14, 2005, 8:28 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12832 Apr 14, 2005, 8:48 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12791 Apr 14, 2005, 8:56 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12821 Apr 14, 2005, 9:04 PM
Post Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12799 Apr 14, 2005, 9:07 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12796 Apr 14, 2005, 9:36 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
afinlr 12763 Apr 15, 2005, 12:26 AM
Thread Re: [afinlr] All dynamic site rewrite to static URLs
rgbworld 12767 Apr 15, 2005, 6:08 AM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12761 Apr 15, 2005, 5:02 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12760 Apr 15, 2005, 5:19 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12767 Apr 15, 2005, 6:08 PM
Post Re: [rgbworld] All dynamic site rewrite to static URLs
Andy 12676 Apr 16, 2005, 5:22 AM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12791 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 3346 Sep 1, 2005, 7:50 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 3463 Apr 17, 2005, 9:43 AM
Post Re: [rgbworld] All dynamic site rewrite to static URLs
afinlr 3426 Apr 17, 2005, 11:10 PM