Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [pugdog] Dynamic to Static-look URLs -- hints

Quote Reply
Re: [pugdog] Dynamic to Static-look URLs -- hints In reply to
In Reply To:
I'm not sure what you mean. This has been working for years.

The pages generate look static, and the links in them look static, but they actually are rewritten to the dynamic url.

You don't have to generate any pages, "rebuild" your site, or do anything. Any time a page is displayed, it is *really* dynamically generated, but the output looks like it was a standard static webpage.

d=1 doesn't have to be passed through for this to work properly. Because each and every page is *actually* dynamic, the d=1 parameter doesn't matter. *every* page click goes through the page.cgi system.
I have some old, static pages sitting on the site. Nothing points to them, and the mod_rewrite instructions went to an empty directory, as you indicated. When I reworked your code to remove the <Directory> directive, the site started serving me the old static pages (outdated content was the clue, along with menu URLs that pointed to the /cgi-bin/pages/ directory).

I think I need far more than simple fine-tuning to make the site behave right. I simply ran out of time to figure it out.

Alan Frayer
Don't just read the news - make the news!
Your World News - http://yourworldnews.frayernet.com
Subject Author Views Date
Thread Dynamic to Static-look URLs -- hints pugdog 3320 May 15, 2005, 1:33 PM
Thread Re: [pugdog] Dynamic to Static-look URLs -- hints
afrayer 3120 Aug 7, 2006, 6:04 AM
Thread Re: [afrayer] Dynamic to Static-look URLs -- hints
afrayer 3107 Aug 8, 2006, 8:56 AM
Thread Re: [afrayer] Dynamic to Static-look URLs -- hints
afrayer 3083 Aug 12, 2006, 4:28 AM
Thread Re: [afrayer] Dynamic to Static-look URLs -- hints
pugdog 3059 Aug 13, 2006, 9:31 PM
Post Re: [pugdog] Dynamic to Static-look URLs -- hints
afrayer 3051 Aug 14, 2006, 2:34 AM