Hi all,
Does anybody know if it is possible to use server side includes on a file outside the web root directory (eg C:\Inetpub\ on IIS)?
I need to include a configuration file with global parameters, which I don't really want end users to be able to look at directly from their browser (eg database connection information), and without the hassle of securing just this one file via IIS security.
I have tried using "<!-- #include file="D:\website\config.txt" --> but this only results in an SSI file not found error when I access the page.
Any suggestions would be most welcome,
John
Does anybody know if it is possible to use server side includes on a file outside the web root directory (eg C:\Inetpub\ on IIS)?
I need to include a configuration file with global parameters, which I don't really want end users to be able to look at directly from their browser (eg database connection information), and without the hassle of securing just this one file via IIS security.
I have tried using "<!-- #include file="D:\website\config.txt" --> but this only results in an SSI file not found error when I access the page.
Any suggestions would be most welcome,
John