Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Dynamic Desaster

Quote Reply
Dynamic Desaster
I ever used links and linksql with static-pages. Some months ago I moved to dynamic pages.
Normally I did not look into Analog-Logs, I only viewed the Webalizer-logs.

But I did wonder why my business slow down more and more.

Analog-Logs shows it:

Listing the top 30 referring URLs by the number of failed requests, sorted by the number of failed requests. #reqs: URL--------: ---15731785: http://www.mydomain.com/sql2/page.cgi
........
followed by hundreds of other page.cgi-URLīs Yesterday I requested installation of mod_perl at my IP.
They installed mod_perl and big trouble started. During testing my site I recognized
that I also suddenly had "page not found" errors. Also I saw that while browsing through
dynamic pages suddenly static-links would be coded.I donīt know what creates this trouble, but the first step I did was switching back to
static-pages.Anyone else with such effects?I would like to use dynamic again in the future.Michael

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Michael Skaide] Dynamic Desaster In reply to
Hi,

In order to use the same templates for static and dynamic modes, Links SQL will translate URL's from static to dynamic. It does this by looking at any url that matches build_root_url. If it matches, it will rewrite it to use page.cgi.

What this means, is if you have url's that are not inside of build_root_url, dynamic mode will not work.

i.e.:

http://yoursite/pages
http://yoursite/pages/New
http://yoursite/pages/Detailed

are ok, but:

http://yoursite/pages
http://yoursite/New
http://yoursite/Detailed

is not!

Hope this helps,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Dynamic Desaster In reply to
Alex,

I think my settings are right. I use only 3 templates
home.html
category.html (and link.html)
detailed.html

Everything did work ok. I only used dynamic-pages.
Static pages did not exist. While surfing around, Linksql
created suddenly ...../page.cgi?g=index.html&d=1 (Home)
with category links to static-pages

I will try to simulate this again and come back with maybe more
information.

Michael

--
Michael Skaide

http://www.cycle24.de