| 
	
 | 
 Posted by Gary Smith on 06/10/03 11:22 
Hi Guido, 
 
I made the change in the vhost.conf file in the domains conf/ directory. If 
it's not there you need to create it and run this command: 
/usr/local/psa/admin/bin/websrvmng 
Then restart apache. 
 
My conf file looks like this 
 
<Directory /home/httpd/vhosts/domainname.com/httpdocs> 
php_admin_value open_basedir 
/home/httpd/vhosts/domainname.com/httpdocs:/home/httpd/vhosts/domainname.com 
/php:/home/httpd/vhosts/domainname.com/compiled_templates:/home/httpd/vhosts 
/domainname.com/templates:/home/httpd/vhosts/domainname.com/cgi-bin:/usr/sha 
re/php:/usr/share/pear:/tmp 
</Directory> 
 
 
Gary 
 
 
 
 
in article 1122447585.42e730e125d38@webmail.tngsoftware.nl, TNG Software at 
info@TNGSoftware.nl wrote on 7/26/05 8:59 PM: 
 
> Hi All, 
>  
> Part of the problem is with plesk. Because I tried to change the base_dir 
> setting in Apache, but every time I add/remove a domain (Thus when the apache 
> config files are recreated) plesk will change the basedir back to the original 
> one. 
>  
> Guido. 
>  
> -- 
> TNG Software 
> van den Hummelstraat 34 
> 5175 CM Loon op Zand 
> tel.   06-26912345 
> mail:  info@TNGSoftware.nl 
> web:   http://www.tngsoftware.nl 
>  
>  
> Quoting Gary Smith <gts@tsu.biz>: 
>  
>> Thanks to Everyone, 
>>  
>> The problem was with open_basedir I added templates to the path and 
>> everything works. You guys ROCK! I really appreciate everyone who tried to 
>> help. 
>>  
>> Gary 
>>  
>> in article 20050726194800.68156858287@aurelius.bws-it.de, "Benjamin Bolbach" 
>> at admin@doublebnet.de wrote on 7/26/05 9:48 AM: 
>>  
>>> Butt hat seems not to be a pronlem of plask, more one of 
>>> Misconfig of the server. Just Change open_basedir to allow 
>>> The user accessing other directories... 
>>>  
>>>  
>>> -----Ursprüngliche Nachricht----- 
>>> Von: TNG Software [mailto:info@TNGSoftware.nl] 
>>> Gesendet: Dienstag, 26. Juli 2005 21:39 
>>> An: 'Gary Smith'; smarty-general@lists.php.net 
>>> Betreff: RE: [SMARTY] Help Please-Compiled templates have headers only 
>>>  
>>> Hi Gary, 
>>>  
>>> I see that you are running plesk webserver software. 
>>>  
>>> Is you templates directory in the httpdocs directory of the site. In newer 
>>> version of plesk (7.5+) php can only access files in that directory(or any 
>>> subdirectory). 
>>>  
>>> I hope this helps you find your problem. 
>>>  
>>> Guido Moonen 
>>  
>> -- 
>> Smarty General Mailing List (http://smarty.php.net/) 
>> To unsubscribe, visit: http://www.php.net/unsub.php 
>>  
>>  
>  
>  
> ---------------------------------------------------------------- 
> This message was sent using IMP, the Internet Messaging Program.
 
  
Navigation:
[Reply to this message] 
 |