View Single Post
Old 04-25-2004, 03:55 PM   #3
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
One possible way around this, assuming you're on Linux, is to rewrite your URLs so that your dynamic content appears to be static.

I have a whole lot of dynamic content on my own website like this. For example, instead of displaying album content like this:
Code:
www.napathon.net/TrackList.php?AlbumID=1530
I use my .htaccess file to rewrite this URL like so:
Code:
www.napathon.net/AlbumID1530.php
The rewrite code in my .htaccess file looks like this:
Code:
RewriteEngine On
RewriteRule ^AlbumID([0-9]+).php TrackList.php?AlbumID=$1 [L]
I hasten to add that I'm not the world's foremost expert on writing regular expressions, which is what this seemingly gibberish is, so I might not necessarily be able to help you write something for your application. However, perhaps someone else can help with that if you're interested in pursuing it as a solution to your problem.
vinyl-junkie is offline   Reply With Quote