httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Seymour" <matthew.seym...@bbc.co.uk>
Subject [users@httpd] Includes based on a variable
Date Fri, 02 Jan 2004 15:36:32 GMT
Hi Folks. Firstly may I wish you all a good new year.

Now, to business.

I want to include an SSI in a page, with the name of the SSI being
chosen by a variable in the page (if that makes sense). Initially I
tried this:

<!--#include virtual='/commentscps/northyorkshire/<!--#echo
var="listname"-->.ssi' -->

Which of course doesn't work, and I think I understand why... But I
don't know how to make this work, or even if it's possible.

Any ideas?

Regards

Matt Seymour

BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message