Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open_basedir & httpd.conf

Status
Not open for further replies.

TheDust

Programmer
Aug 12, 2002
217
US
I am unable to configure one of my domains to allow reading files outside the web root. I've done this once before for one of my domains by editing httpd.conf in the Apache server. However, the second directive I've placed in does NOT work:

Code:
<Directory "/home/httpd/vhosts/cptestsite.com">
    php_admin_value open_basedir "/home/httpd/vhosts/domainA.com:/tmp"
</Directory>

<Directory "/home/httpd/vhosts/chicagoproducers.info">
    php_admin_value open_basedir "/home/httpd/vhosts/domainB.info:/tmp"
</Directory>

In this example, I can NOT get the value for open_basedir for chicagoproducers.info to change. Anyone know why? I have tried completely restarting Apache and the server itself and no luck...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top