Archive for the tag 'modify'

SBDavid

Modify Apache default success page

Modify Apache default success page

To modify the apache default success page, follow the steps below:

We just have to login to your server via ssh. Navigate to /usr/local/apache/htdocs
cd /usr/local/apache/htdocs And finally edit the file index.html nano index.html

How to modify the open_basedir setting for one domain

To change the open_basedir value when using php in CLI mode (not suPhp), you can do so by going to:

Admin Level -> Custom httpd configuration -> domain.com

In the top text area, insert this one line:

|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/usr/local/lib/php/|

which is the default value in the templates. Edit the paths in that line to meet your needs.

Source: http://directadmin.com

How to modify the open_basedir setting for one domain in DirectAdmin

To change the open_basedir value when using php in CLI mode (not suPHP), you can do so by going to:

Admin Level -> Custom httpd configuration -> domain.com

In the top text area, insert this one line:

|?OPEN_BASEDIR_PATH=`HOME`/:/tmp:/usr/local/lib/php/|

which is the default value in the templates. Edit the paths in that line to meet your needs.

Source : http://directadmin.com/