Jump to content

Transparent Proxy


KSchex

Recommended Posts

Hi all, I am having a problem with the Transparent Proxy.  I have reliably been running my own UI on a NAS with Apache (based on HAD using the REST commands).  Since the NAS is primarily for backup, I set up XAMPP on a WIN 10 machine and copied my files and directory structure over.  PHP and CURL are enabled (and tested) in Apache as well as .htaccess.  I can call my UI but I have no data.  I get the following error:

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

Error accessing /rest/nodes/ZW004_1: Error: Invalid XML:

Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\rest\isyProxy.php on line 35

 

Notice: Undefined variable: header in C:\xampp\htdocs\rest\isyProxy.php on line 22

 

ZW004_1

Mailbox - Bat Lev4297984.7.1.0true00000ZW004_114.7.1134.258.120185B12

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

 

Line 22     curl_setopt ($curl, CURLOPT_HEADER, (int)$header);

Line 35      $reply = curl("http://$isyIp/" . ltrim($_SERVER[REQUEST_URI],"/"), $isyUser, $isyPassword);

 

I don’t have a real good understanding of curl or operation of the proxy.  Any pointers or assistance would be really appreciated.  Thanks in advance..

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.5k
    • Total Posts
      367.6k
×
×
  • Create New...