What Is the Path For Folder Outside "Public_HTML"?
I sorta asked this in another post but this one is more specific. Does anyone know how to reference the location of a folder (say, "downloads") that is located under the root web directory, and NOT under "public_html"?
A guide I'm reading uses "/home/myaccount/downloads" as an example. But I can't figure out how to tailor that to my own site.
This would depend on how your host has the server setup. But on a typical Apache server, the path would look something like this:
/home/your-username/your-download-location
So on a real site with a username of testcom, and a directory called downloads, outside of public_html, it might look like this:
/home/testcom/downloads
If that doesn't look right on your server, you can use an FTP client, like FireFTP, a Firefox addon, and navigate to the downloads directory. You can then see the path in the FTP window, on the remote side, after the /home/username/.
This varies according to server set up. On an Apache server it looks like
Home/username/download location
If not, you can use an FTP client and navigate the downloads directory.
Bookmarks