Hello,

 

We have applications in shared directories and we have virtual servers that
use these applications. Every virtual server has its own document root, and
access to applications by symbolic links, except for specific files and
directories (as configuration files)  that are created physically in
document root of virtual server. For example:

 

-          Shared directory with source files:         /usr/share/myapp

-          Document root of virtual server:
/var/server1/www/myapp

-          Creating symbolic links to source files:   ln –s
/usr/share/myapp/* /var/server1/www/myapp

 

The problem comes when a PHP file tries to access to one of these specific
files (for example, /var/server1/www/myapp/config.php) because it takes the
path relative to physical file (/usr/share/myapp/config.php), and not the
path relative to symbolic links (/var/server1/www/myapp/config.php).

 

Is there any way in Cherokee (by rules or something) of doing PHP to take
path of symbolic links instead of physical links?

 

 

 

 

 

 

 

 

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to