faqts : Computers : Programming : Languages : PHP : Installation and Setup : Configure

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 8 people (25%) answered Yes
Recently 1 of 7 people (14%) answered Yes

Entry

"open_base_dir" -- It is possible to restrict to the web-dir of the script owner; something like /home/%u/public_html ?

Oct 9th, 2006 10:33
Matthew Wilkinson, J. Bedford,


It is possible to do this per directory or per virtual host.
In your httpd.conf, add the following lines to restrict each
directroy/virtual host:
php-flag open_basedir /folder/they/are/restricted/to