<!--#include virtual="footer.html" -->

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Makingcoin
    Confirmed User
    • Aug 2002
    • 8919

    #1

    <!--#include virtual="footer.html" -->

    Can you hard link a virtual include? For example,

    <!--#include virtual="http://www.blah.com/mc/footer.html" -->

    And you have numerous directories with html files that use that footer.html file? Or do i have to upload the footer.html to each specific directory and use <!--#include virtual="footer.html" -->?


    www.MAKINGCOIN.com

    icq. 166-662-831
    "Start making large coin!"


    Daddy I Get Paid To Be A Whore - Coming Soon
  • Fabuleux
    Confirmed User
    • May 2003
    • 2543

    #2
    You can "hard" link it. I do it all the time. Menu's, headers, footers, etc. etc. Saves a lot of time when something needs to be changed.

    Comment

    • Jdoughs
      Confirmed User
      • Mar 2004
      • 5794

      #3
      Originally posted by Makingcoin
      Can you hard link a virtual include? For example,

      <!--#include virtual="http://www.blah.com/mc/footer.html" -->

      And you have numerous directories with html files that use that footer.html file? Or do i have to upload the footer.html to each specific directory and use <!--#include virtual="footer.html" -->?

      Yep works for SSI and php
      LinkSpun - Premier Adult Link Trading Community - ICQ - 464/\281/\250
      Be Seen By New Webmasters/Affiliates * Target out webmasters/affiliates based on niches your sites are for less than $20 a month.
      AmeriNOC - Proudly hosted @ AmeriNOC!

      Comment

      • Makingcoin
        Confirmed User
        • Aug 2002
        • 8919

        #4
        arggg

        I keep getting:

        [an error occurred while processing this directive]

        www.MAKINGCOIN.com

        icq. 166-662-831
        "Start making large coin!"


        Daddy I Get Paid To Be A Whore - Coming Soon

        Comment

        • Jdoughs
          Confirmed User
          • Mar 2004
          • 5794

          #5
          Originally posted by Makingcoin
          arggg

          I keep getting:

          [an error occurred while processing this directive]
          Does it still have blah.com as the url?..

          Maybe SSI isnt on the other box?
          LinkSpun - Premier Adult Link Trading Community - ICQ - 464/\281/\250
          Be Seen By New Webmasters/Affiliates * Target out webmasters/affiliates based on niches your sites are for less than $20 a month.
          AmeriNOC - Proudly hosted @ AmeriNOC!

          Comment

          • Fabuleux
            Confirmed User
            • May 2003
            • 2543

            #6
            Is your file named .SHTML instead of .HTML?

            Comment

            • Makingcoin
              Confirmed User
              • Aug 2002
              • 8919

              #7
              Originally posted by Jdoughs
              Does it still have blah.com as the url?..

              Maybe SSI isnt on the other box?
              Same server. same domain..

              www.MAKINGCOIN.com

              icq. 166-662-831
              "Start making large coin!"


              Daddy I Get Paid To Be A Whore - Coming Soon

              Comment

              • Makingcoin
                Confirmed User
                • Aug 2002
                • 8919

                #8
                Originally posted by Fabuleux
                Is your file named .SHTML instead of .HTML?
                yes

                www.MAKINGCOIN.com

                icq. 166-662-831
                "Start making large coin!"


                Daddy I Get Paid To Be A Whore - Coming Soon

                Comment

                • fuzebox
                  making it rain
                  • Oct 2003
                  • 22372

                  #9
                  You should be using PHP

                  <? include "http://www.blah.com/path/to/footer.html; ?>

                  Comment

                  • Jdoughs
                    Confirmed User
                    • Mar 2004
                    • 5794

                    #10
                    Originally posted by fuzebox
                    You should be using PHP

                    <? include "http://www.blah.com/path/to/footer.html; ?>

                    I find php way more nicer to use for that as well.
                    LinkSpun - Premier Adult Link Trading Community - ICQ - 464/\281/\250
                    Be Seen By New Webmasters/Affiliates * Target out webmasters/affiliates based on niches your sites are for less than $20 a month.
                    AmeriNOC - Proudly hosted @ AmeriNOC!

                    Comment

                    • ztik
                      Confirmed User
                      • Aug 2001
                      • 5196

                      #11
                      you need to use a directory structure on your local server when using ssi. as far as i know you can't pull from other sites or files located on other servers.

                      you are able to use /dir/bah.txt

                      i'm not sure if using a html file will work either, you could try renaming it to txt (it will still output it as html)
                      .

                      Comment

                      • JulianSosa
                        Confirmed User
                        • Aug 2003
                        • 3042

                        #12
                        Originally posted by Jdoughs
                        I find php way more nicer to use for that as well.

                        I was going to say the same thing. You can even keep the pages .html and add a line to your .htaccess

                        Comment

                        • Richyp
                          Registered User
                          • Jul 2004
                          • 35

                          #13
                          you CANT hardlink using SSI - at least I have never been able to do it - those claiming to have done it either have a special server setup or are talking out their arses

                          As the last couple of guys said - php is the way to go - you can hardlink as you need to do without any hassles.

                          Comment

                          Working...