[thelist] SSI Gurus, is this possible
Morbus Iff
morbus at disobey.com
Wed Oct 10 14:55:21 CDT 2001
><!--#include virtual="/1/<!--#echo var="DOCUMENT_NAME" -->"-->
><!--#include virtual="/2/<!--#echo var="DOCUMENT_NAME" -->"-->
You may want to look at the following article at evolt.org:
/article/Search_Engine_Friendly_SSI_Image_Gallery/20/15882/index.html
Anyways, I think what you may be looking for is (untested):
<!--#set var="docname" value="$DOCUMENT_NAME" -->
<!--#include virtual="/1/$docname" -->
or in one line:
<!--#include virtual="/1/$DOCUMENT_NAME" -->
Let me know if this works. I'm no where near my Apache box right now and am
pulling this from memory. You should worry about infinite loops though -
this sort of thing is handled by creating a wrapper file to load the file
(as I had done in the SSI_Image_Gallery above)...
--
Morbus Iff ( softcore vulcan porn rulezzzzz )
http://www.disobey.com/ && http://www.gamegrene.com/
please me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
More information about the thelist
mailing list