On-Rev file path

-=>JB<=- sundown at pacifier.com
Wed Mar 23 00:26:44 EDT 2011


Thanks for the reply and info.  Yes I was referring to 'http'.
Actually I was thinking you could not access the file if it
was above the public_html and wanted to make sure.  I
am not actually trying to access a file above public_html
even though it looks that way by the question.

What I am trying to do is move a folder connected of some
web programming software I have installed on my domain.
They suggest this be done for more security which I knew
having it above public_html was safer.  But I need to give
it the proper path so the software installed can find it to
access it and wanted to have a way to test the path so I
asked if the file could be accessed with the browser if it
is above public_html.

-=>JB<=-


On Mar 22, 2011, at 8:41 PM, Jim Ault wrote:

> 
> 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the use-livecode mailing list