Gadianton Posted August 30, 2004 Posted August 30, 2004 I am wondering if its possible to create symlinks. For example, i have a subdomain called "admin" for my host, but would like it to be able to access the same library files as the main website in the root folder. The only way I would know how to do this is to create a symlink within the subdomain directory (ie libraries) that links to a directory within the main www root folder also called libraries. This way the following would evaluate to the same directory on the server: $_SERVER['DOCUMENT_ROOT'] . '/libraries/' regardless of whether I'm calling that from within my subdomain or from the main www location. Any ideas from the guru's out there? Quote
borfast Posted August 30, 2004 Posted August 30, 2004 Hi. While it is not possible for a regular user to create symlinks, if you really need them you can submit a help desk ticket and ask the techs to create it for you Quote
TCH-Bruce Posted August 30, 2004 Posted August 30, 2004 Or you could put the libraries folder outside of your web space (same level as public_html) and link with the full path to the libraries. Quote
sethneal Posted June 28, 2007 Posted June 28, 2007 Hi. While it is not possible for a regular user to create symlinks, if you really need them you can submit a help desk ticket and ask the techs to create it for you Is this still the case? Or can regular dudes create symlinks now? Thanks. Seth. Quote
carbonize Posted June 28, 2007 Posted June 28, 2007 In Lazarus I use $include_path = dirname(__FILE__); Which gives me the directory path of the file in question. Couldn't you use something similar? Quote
sethneal Posted June 28, 2007 Posted June 28, 2007 In Lazarus I use $include_path = dirname(__FILE__); Which gives me the directory path of the file in question. Couldn't you use something similar? I'm actually looking to create symlinks for a drupal multisite set up I'm wanting to do... so no, that wouldn't work for what I'm wanting to do... thanks though! Quote
carbonize Posted June 28, 2007 Posted June 28, 2007 Ah the dreaded Drupal. I tried to get Lazarus to work with it but it does something to it's modules that I couldn't be bothered investigating. Quote
TCH-Bruce Posted June 28, 2007 Posted June 28, 2007 Welcome to the forums Seth TCH does not allow shell access on shared servers so it is not possible for users on a shared server to create symbolic links. I you open a help desk ticket they may do it for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.