|
Posted by Adam on 06/26/05 03:16
Hello,
I'm looking for some help on creating symbolic links on apache.
The server is set up with 2 seperate directories, one web accessible and
the other contains databases and other such things.
The structure is:
/websites/mydomain.com/html/subfolder
and
/websites/mydomain.com/data/subfolder
The catch is, the symlinks need to go in the html subfolder, but point to
files in the data subfolder.
I know this is not normally done this way and often the server setup won't
allow it, but let us just say that in this case it has to be done this way
and the server is properly configured to allow it (confirmed by host).
I need to call the php script from another programming language
(mivascript) and pass it a couple of variables, one which contains the
target file and the other contains the destination path.
Like so:
targetfile = /websites/mydomain.com/data/subfolder/(filename-variable)
destination = /websites/mydomain.com/html/subfolder/(linkname-variable)
Mivascript doesn't have any easy provisions for symbolic linking across web
/ data directories. Only inside one or the other.
Any help is appreciated.
[Back to original message]
|