Log in

View Full Version : Precise url path for files


emailapphost
04-16-2009, 11:27 AM
I am working to move my large video files (100+ mb files) from the db to the files system, in order to make it hopefully work.

In the Attachments manager is says:
Attachment File PathThis file path should be readable AND writeable by your web server (usually chmod 0777)

Then it states the file path as:
/path/to/your/attachment/directory

What does this mean, precisely? (excuse my ignorance).
What is the url for this?
Do I need to write out the entire URL here, or just the local path?

http://www.mydomain.com/directory
http://www.mydomain.com/home/
http://www.mydomain.com/public_html/forum/directory

snakes1100
04-16-2009, 11:36 AM
admincp --> maintenance --> view php info

Scroll to the bottom of the page and check for this line and the path it states.

_SERVER["SCRIPT_FILENAME"] /home/username/public_html/forums/admincp/index.php

Your path will then need to be placed accordingly.

I generally do not place the image folder in a public space, so your path can be as such.

/home/username/attachments

That will leave it one directory above the public_html directory.