Re: Problems with mod_vhost_alias and PHP require

From: Date: Wed, 07 May 2008 13:13:49 +0000
Subject: Re: Problems with mod_vhost_alias and PHP require
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-273982@lists.php.net to get a copy of this message
Mário Gamito wrote:
Hi, I have this Apache server with mod_vhost_alias and set /home/pages/%0 as the VirtualDocumentRoot In /home/pages/gamito.foo.com I have a index.php file. This generates the http://gamito.foo.com URL. Also, I have a /home/pages/fckeditor with FCKeditor. *This is not defined as a subdomain in the DNS* I need to include in my index.php the file /home/pages/fckeditor/fckeditor.php I have: @define('FCKEDITOR_BASE', dirname(__FILE__)); require FCKEDITOR_BASE . '/../fckeditor/fckeditor.php'; Hi,
Try this '../fckeditor/fckeditor.php' -- Aschwin Wesselius /'What you would like to be done to you, do that to the other....'/

« previous php.general (#273982) next »