Results 1 to 3 of 3
  1. #1


    Hey all,

    I recently got a shiny new server at dtwebworks which I am delighted with, and I got Plesk installed on that.

    It took me some time to get to understand everything Plesk does to a server (like MySQL ...) but I managed to understand that (quite an accomplishment I think .. ).

    I remain to have one problem, though: SSI is only working in .SHTML files. I tried changing things in Apache, but to no avail, so this must be a Pleskish problem. The Plesk helpdesk is very slow in response, so I thought I'd ask you if you guys knew how to fix this, since not being able to use includes in your PHP files is umm ... rather annoying

    So as a roundup: even with SSI support "on" in Plesk, SSI will only work in .SHTML files -> how to get it to work in .PHP, .HTML and other file types? help!

    >>> <!--#include virtual="ad.php"--> <<< does not work in PHP files!

    Any heads up on this problem?


    [Edited by BlazeBox on 01-28-2001 at 04:31 PM]

  2. #2
    Join Date
    Jun 2000
    Southern California
    This really isn't an answer to your question, but a question itself...

    Why not use:

    <?php include("/absolute/path/to/file.txt"); ?>

    ??? - Where professionals discuss web hosting.


  3. #3
    >>> <!--#include virtual="ad.php"--> <<< does not work in PHP files!
    That's not a problem with APACHE. You can not use APACHE SSI in PHP files.

    Using the php require or include statements will give you the functionality of ssi.

    Check the php manual.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts