two sites, same server, same script, one virtual include works, the other not.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nico-t
    emperor of my world
    • Aug 2004
    • 29903

    #1

    two sites, same server, same script, one virtual include works, the other not.

    im using a small cgi script on site A. It calls the script like this:
    <?php virtual ("/cgi-bin/script.cgi"); ?>
    and you see the output on the page.

    site B is on the same server in fact even the same IP. uploaded this exact same scrip and put the exact same code
    <?php virtual ("/cgi-bin/script.cgi"); ?>
    and it gives the error of Warning: virtual(): Unable to include '/cgi-bin/script.cgi' - request execution failed in...... the php page + line i put the <?php virtual ("/cgi-bin/script.cgi"); ?> code.

    How in the fuck is this possible? Its completely the same!
  • Dirty Dane
    Sick Fuck
    • Feb 2004
    • 9491

    #2
    Have you enabled file hotlink for all cross server domains?

    Comment

    • Dirty Dane
      Sick Fuck
      • Feb 2004
      • 9491

      #3
      Originally posted by Dirty Dane
      Have you enabled file hotlink for all cross server domains?
      Ah.. forget it. I didn't see you uploaded it twice.

      Try uploading again, and check permissions.
      Last edited by Dirty Dane; 03-17-2009, 02:13 PM.

      Comment

      • nico-t
        emperor of my world
        • Aug 2004
        • 29903

        #4
        please explain?
        the site B script is in the site B cgi bin
        the site A script is in the site A cgi bin

        its not that site B needs something that is in site A folders, i just copied everything the script needs and uploaded it to the correct folders of site B, chmodded everything correct, placed the virtual code in site B's page, everything is right..

        Comment

        • nico-t
          emperor of my world
          • Aug 2004
          • 29903

          #5
          Originally posted by Dirty Dane
          Ah.. forget it. I didn't see you uploaded it twice.

          Try uploading again, and check permissions.
          ha yea see me other reply, permission are all good...

          Comment

          • WarChild
            Let slip the dogs of war.
            • Jan 2003
            • 17263

            #6
            Oh that's a bug that only happens to drunk Dutch idiots. Maybe try smartening up, moving or quit drinking.
            .

            Comment

            • nico-t
              emperor of my world
              • Aug 2004
              • 29903

              #7
              damn my mistake, i still had the transfer mode of flashfxp set on binary instead of auto from some stuff i did earlier, its working now... its always something simple.

              and thanks warchild for the input, you trolling homo.

              Comment

              • HorseShit
                Too lazy to set a custom title
                • Dec 2004
                • 17513

                #8
                Originally posted by WarChild
                Oh that's a bug that only happens to drunk Dutch idiots. Maybe try smartening up, moving or quit drinking.

                Comment

                Working...