Reply to php script for symlinks

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация