On Mar 22, 2011, at 7:57 PM, -=>JB wrote:

I would like to know how to get the path of a file that is
located above the public_html which I think is called
above webroot.

Let's say I have a file named Hello_World.php and
it is above the public_html.  What is it's path and can
I run the file by pointing my browser to it's path like I
can when it is in my domain folder.

-=>JB<=-

You did not specify which protocol you wanted to use, but I am assuming 'http' rather than 'ftp'

Part of the definition of a web site that a web server uses is that files located above the public_html directory are not to be served to browsers. This is a part of the security system and a browser should not be able to view or run files outside the normal folder tree. ( just imagine if everyone could look at all the files on your web server! )

There are exceptions to this but you have to so some advanced web server techniques to get this to happen. This is not the ordinary web server setup.

You should use your file manager access or ftp:login:password access to move or copy the file to a working location.

Hope this helps.

Jim Ault
Las Vegas



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to