ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
reverseproxy.php File Reference

Go to the source code of this file.

Variables

 $remoteUrl = 'http://example.org/'
 
 $myBaseUrl = '/reverseproxy.php'
 
 $paths
 
foreach($paths as $path) $request = Sapi::getRequest()
 
 $subRequest = clone $request
 
 $client = new Client()
 
 $response = $client->send($subRequest)
 

Variable Documentation

◆ $client

$client = new Client()

Definition at line 44 of file reverseproxy.php.

◆ $myBaseUrl

$myBaseUrl = '/reverseproxy.php'

Definition at line 11 of file reverseproxy.php.

◆ $paths

$paths
Initial value:
= [
__DIR__ . '/../vendor/autoload.php',
__DIR__ . '/../../../autoload.php',
__DIR__ . '/vendor/autoload.php',
]

Definition at line 18 of file reverseproxy.php.

◆ $remoteUrl

$remoteUrl = 'http://example.org/'

Definition at line 4 of file reverseproxy.php.

◆ $request

foreach ( $paths as $path) $request = Sapi::getRequest()

Definition at line 33 of file reverseproxy.php.

◆ $response

$response = $client->send($subRequest)

Definition at line 47 of file reverseproxy.php.

◆ $subRequest

$subRequest = clone $request