Thread: htaccess expert
View Single Post
Old 07-29-2004, 10:33 PM  
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Well the .htaccess is only half of the equation, that translates
incoming requests to something that the script can understand.
You still need to translate the links that the script creates
into the format that you wish them to have in the pages.
In other words, the browser and the script talking is like a
Frenchman and a German talking and you're the translator -
you have to translate from German to French AND from
French to German.

When they click the link the .htaccess translates this:
http://www.DOMAIN.COM/galleries/NICHE/SEXYPHOTO1.jpg
to this:
http://www.domain.com/galleries/inde...SEXYPHOTO1.jpg
so that the script gets URLs that it understands.

You still need to tanslate the other way to.
If you have a dedicated server running Apache 2.x
I have th script for you. It's been in production
use for a while so any major bugs should have
been found and fixed by now. If you're on shared
hosting or Apache 1.3x there are other alternatives,
such as modifiying the script a bit.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote