<Directory> tag in httpd.conf and '../'s (SSI)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

<Directory> tag in httpd.conf and '../'s (SSI)

Postby stabby » 28. April 2007 10:20

Can someone point me in the right direction as to how to allow (../)'s in the SSI statements.

ie
Code: Select all
<!--#include file="../../include/includefile.inc"-->


Or maybe even what these (../)'s are called?:)

Cheers
James
stabby
 
Posts: 5
Joined: 26. April 2007 05:09

..

Postby stabby » 28. April 2007 10:43

ive just discovered I can use
<!--#include virtual=......>

and the statement works, but I still dont want to have to change the code.

Is is possible?
stabby
 
Posts: 5
Joined: 26. April 2007 05:09

Postby Starrie » 28. April 2007 19:05

I find that we need more people answering questions instead of just looking at topics.....isn't that the whole point of a help forum????


anyways...

----------------------------------------------------------------------------------

Im sorry stabby, i dont really do SSI... i do php, which i find is easier to include files instead of SSI. But i'll see what i can do..

stabby wrote:Can someone point me in the right direction as to how to allow (../)'s in the SSI statements.


im not really understanding your question but by the example that you have given

stabby wrote:
Code: Select all
<!--#include file="../../include/includefile.inc"-->


i would say that you need to take away one of the (../)
like

Code: Select all
<!--#include file="../include/includefile.inc"-->


that is basically telling the server that it has to go back to the main directory (../) then into the include directory to find includefile.inc

stabby wrote:Or maybe even what these (../)'s are called?


Im not sure what their name is but i explained above basically what they do.... but they still look like dot dot fowardslash to me :wink:
Starrie
 
Posts: 7
Joined: 27. April 2007 01:44


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 118 guests