Forum Moderators: phranque

Message Too Old, No Replies

SSI dynamic in WebmasterWorld

         

mab89

11:15 pm on Mar 24, 2004 (gmt 0)

10+ Year Member



Okay, I have a pretty decent understanding of the SSI and have been using it. I frigin' love it.

My question is with regards to how WebmasterWorld is created. I assume that whenever someone makes this request:

[webmasterworld.com...]

they are requesting the directory /forum92/

inside /forum92/ there is a file (index.htm) that reads in the 92 to display all threads in this forum.

Now whenever this request is made:

[webmasterworld.com...]

the file 1260.htm is where I get lost. Obviously, 1260 is the thread id, but is there actually a file in the /forum92/ directory that can be accessed by the server? Or is not there? Is this file automatically created whenever a new thread is created?

I have rigged something up using 404 redirects and this scenerio and it works fine. BUT my stats will be filled with 404 errors.

So how is Brett doing this? Am I incorrect in my assumptions above? Please help...

Thanks.

richlowe

11:25 pm on Mar 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know how webmaster world does it, but I have a perl script on my site which creates a new .htm file each time a new post is made, and appends to it whenever the post is added to. Thus, it's basically static for read-only, and only needs to execute the script for writing and modifying. Also very search engine friendly, since it looks just like regular web pages.

Richard