Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Dynamic detailed with mod_rewrite and static cats.. a better way?

Quote Reply
Dynamic detailed with mod_rewrite and static cats.. a better way?
Hi, I have managed to get dynamic detailed pages using mod_rewrite and static category pages. just wondering if there is a better way?

So far I have in my .htaccess obviously changing listings to whatever you have set as your Detailed path

Code:

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^([a-zA-Z0-9]*).html$ /cgi-bin/dir/page.cgi?g=listings\%2F$1.html;d=1 [L,NC]
and to get around actually building the pages I have done what Robert suggested @ http://www.gossamer-threads.com/...orum.cgi?post=183030 .. that is I added $cond->add ('isValidated', '=', 'No'); in nph-build.cgi below $cond->add(VIEWABLE); . It works fine but wondering if anyone has a better way of doing it?
Subject Author Views Date
Thread Dynamic detailed with mod_rewrite and static cats.. a better way? garrynz 5001 Jun 9, 2005, 11:48 AM
Thread Re: [garrynz] Dynamic detailed with mod_rewrite and static cats.. a better way?
Andy 4936 Jun 9, 2005, 11:50 AM
Post Re: [Andy] Dynamic detailed with mod_rewrite and static cats.. a better way?
garrynz 4890 Jun 10, 2005, 2:55 AM
Thread Re: [garrynz] Dynamic detailed with mod_rewrite and static cats.. a better way?
pugdog 4847 Jun 13, 2005, 8:07 AM
Thread Re: [pugdog] Dynamic detailed with mod_rewrite and static cats.. a better way?
VishalT 4864 Jun 13, 2005, 3:44 PM
Thread Re: [SWDevil.Com] Dynamic detailed with mod_rewrite and static cats.. a better way?
pugdog 4913 Jun 13, 2005, 6:41 PM
Thread Re: [pugdog] Dynamic detailed with mod_rewrite and static cats.. a better way?
VishalT 4856 Jun 13, 2005, 8:18 PM
Thread Re: [SWDevil.Com] Dynamic detailed with mod_rewrite and static cats.. a better way?
pugdog 4871 Jun 14, 2005, 7:05 AM
Thread Re: [pugdog] Dynamic detailed with mod_rewrite and static cats.. a better way?
VishalT 4821 Jun 14, 2005, 9:11 AM
Thread Re: [SWDevil.Com] Dynamic detailed with mod_rewrite and static cats.. a better way?
pugdog 4833 Jun 14, 2005, 10:05 AM
Post Re: [pugdog] Dynamic detailed with mod_rewrite and static cats.. a better way?
VishalT 4835 Jun 14, 2005, 10:09 AM
Post Re: [pugdog] Dynamic detailed with mod_rewrite and static cats.. a better way?
Payooo 4841 Jun 15, 2005, 6:52 AM
Post Re: [pugdog] Dynamic detailed with mod_rewrite and static cats.. a better way?
Jag 4801 Jun 17, 2005, 10:28 PM