virtual serv and php flags

This is a discussion on virtual serv and php flags within the Apache Web Server forums, part of the Web Server and Related Forums category; I have apache 2 with many VS like this <VirtualHost 212.160.183.129> ServerName www.aa.bb....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-27-2005
Radoslaw HORODNICZY
 
Posts: n/a
Default virtual serv and php flags

I have apache 2 with many VS like this

<VirtualHost 212.160.183.129>
ServerName www.aa.bb.pl
ServerAlias aa.bb.pl *.aa.bb.pl
DocumentRoot /home/xx/public_html
ServerAdmin xx@bb.pl
</VirtualHost>

and everything works OK until
I've changed one of virtual servers to this

<VirtualHost 212.160.183.129>
ServerName www.aa.bb.pl
ServerAlias aa.bb.pl *.aa.bb.pl
DocumentRoot /home/xx/public_html
ServerAdmin xx@bb.pl
php_admin_value open_basedir /home/xx/public_html
php_admin_value safe_mode off
</VirtualHost>

and after this every php page on server has problems -
randomly i see error like bellow


Warning: Unknown(): open_basedir restriction in effect.
File(/home/kot/public_html/glowna.php) is not within the allowed path(s):
(/home/lo/public_html) in Unknown on line 0

Warning: Unknown(/home/kot/public_html/glowna.php): failed to open stream:
Operation not permitted in Unknown on line 0

Warning: (null)(): Failed opening '/home/kot/public_html/glowna.php' for
inclusion (include_path='.:/usr/share/php') in Unknown on line 0


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0