Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Htaccess and mysql photo album.
June 21, 2005, 7:09 am
rate this thread
I've posted the following question elsewhere,
but got no response, and there seems to be no
special htaccess-group, so i took the liberty
to post it here. Hope y'all dont mind.
I have a site with a photo album on it.
Albums are stored in a MySQL db.
I use a site with a standard layout, with
an iframe in it, where the content is presented.
To the visitor albums appear to have the
The last three parts are variable,
and it's translated to
That's the url of the main layout. The page
in the iframe has the same, except then index.html
behind it. (site.com/photos/album_id/album_name/page_no/index.html)
Hope it's still clear.
Because the album name is variable i use the following
in the htaccess file:
BUT!! because of the '(.*)' part, it keeps looping when i call
the iframe's url because photos/5/bla AND photos/5/bla/index.html 'are
Does anyone know how to prevent this? Does it make a difference if i
the *.index.html rule before the other in the htaccess?
Sounds rather complicated i guess, but i don't really know how to
explain it different.
Thanks in advance!
Re: Htaccess and mysql photo album.
*** frizzle wrote/escribió (23 Jun 2005 08:20:27 -0700):
One character (any) plus one character (any except /).
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group