Re: [users@httpd] How to limit php script execution to a select path only ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Example:


php_admin_value open_basedir /htdocs/bla/bla1/:/htdocs/bla/bla2/


This will limit PHP execution to the two paths specified.

NOTE:
1) The paths MUST be absolute from root, or the chroot of apache if appropriate - it SHOULD be appropriate :-)

2) The paths can not be symlinks - they must be real directory paths

Hope this helps

Rich.


Maxim Vexler wrote:
Hello everyone.

Sorry for the newbies question, I would have searched for it myself if
it wasn't that urgent.
Could you please demonstrate or provide a helpful link on how to limit
script execution (php in this case) to a selected number of path's
(phpBB2 & mysqladmin in this case)

Thank you.

Apache version 2.0.52
php4 as loadable module
OS : windows 2k3.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux