Forum Moderators: phranque
RewriteEngine on
RewriteBase /
RewriteRule ^docs/(\w+)$ docs/$1/ [R]
RewriteRule ^docs/ac(\d+)/$ m/content/article.php?content_id=$1
RewriteRule ^docs/pc(\d+)/$ product.php?category_id=$1
RewriteRule ^docs/pr(\d+)/$ details.php?product_id=$1
RewriteRule ^docs/ca(\d+)/$ listings.php?category_id=$1
RewriteRule ^docs/fl(\d+).(\w+)$ getfile.php?name=content_$1&type=$2
RewriteRule ^docs/ga(\d+)/$ m/photos/details.php?photo_gallery_id=$1
RewriteRule ^docs/gl(\d+)/$ m/photos/image.php?photo_id=$1
RewriteRule ^docs/gi(\d+).(\w+)$ m/photos/getfile.php?name=gallery_image_$1&type=$2
RewriteRule ^docs/ts(\d+).(\w+)$ [google.ca...]
any help is appreciated.
Thanks.
There is in fact no "docs" folder, it is an Apache alias which is better for search engines. They are called using an alias in the ".htaccess" file this allows for document security on an Apache platform. So what actually happens is this:
You type:
http://example.com/docs/ac1/
And you get: http://example.com/m/content/article.php?content_id=1
You type:
http://example.com/docs/gi1.jpg
And you get: http://example.com/getfile.php?name=content_1&type=jpg
That was the email from the developer of the site originally maybe it has some info that would allow you to help me out.
Thanks,
Joe
[edited by: jdMorgan at 1:26 am (utc) on Mar. 18, 2006]
[edit reason] Example.com [/edit]