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

[cobalt-users] Changing DocumentRoot from ../web to ../web/



Hi there,

We are busy testing a large PHP driven site for a client with a view to move 
them over to a dedicated RaQ.  

Their current Apache DocumentRoot is set to "../whatever/web/", but the RaQ 
uses "../whatever/web", dropping the final slash.  And they are using the 
$ROOT_DOCUMENT variable all over in their PHP files as part of include 
statements.  This is obviously created some havoc, since PHP is trying to 
include files with incorrect path names such 
as "../whatever/webincludes/config.inc" instead 
of "../whatever/web/includes/config.inc" 

The easiest would be by far to just change the RaQ setting to include the slash.
Is there any reason why one cannot change the DocumentRoot setting to include 
the slash?  I can't think of any, unless Webalizer or some Cobalt specific 
executable prefers the path the exclude the slash?

Another option would be to use .htaccess?

Any ideas on this would be appreciated,

Johan Pretorius

http://bigbrothertalk.co.za - where YOU create the vibe!











---------------------------------------------
This message was sent using M-Web Airmail.
http://airmail.mweb.co.za/