PDA

View Full Version : Could someone explain the paths settings?


vfilby
28th of November 2004 (Sun), 20:00
Specifically, is the url supposed to point to the url where ee is located? Also is ftp path the path where I am going to upload the images. It isn't very clear to me.

vfilby
28th of November 2004 (Sun), 21:48
I have what I think is correct but the images are all broken links. I have something along these lines (the web root is /home/vfilby/filby.ca/html):

URL: http://www.filby.ca/gallery/photos/normal/
FTP: /home/vfilby/filby.ca/html/gallery/photos/normal

URL: http://www.filby.ca/gallery/photos/thumb/
REL: ../photos/thumb/
FTP: /home/vfilby/filby.ca/html/gallery/photos/thumb

When I check the path analyzer none of the images are found yet the images seem to be in the right directory.

JPEG, resized 50% from original http://www.filby.ca/gallery/photos/normal/IMG_0790.JPG default --- NOT FOUND

IMG_0790.JPG IMG_1209.JPG IMG_1214.JPG IMG_1713.JPG
IMG_1043.JPG IMG_1210.JPG IMG_1362.jpg
gradhp-83:~/filby.ca/html/gallery/photos/normal> pwd
/home/vfilby/filby.ca/html/gallery/photos/normal
gradhp-83:~/filby.ca/html/gallery/photos/normal>


Any hints?

Pekka
29th of November 2004 (Mon), 05:56
Might be a permission thing. If I go directly to the address

http://www.filby.ca/gallery/photos/normal/IMG_0790.JPG

I get

You don't have permission to access /gallery/photos/normal/IMG_0790.JPG on this server.

Either your ftp server puts very strict permissions by default (PHP behaves as any www site visitor) or you have some directive in your Apache to prevent image loading.

vfilby
29th of November 2004 (Mon), 07:47
Thanks Pekka.

BTW I like EE. ;-)

vfilby
29th of November 2004 (Mon), 12:07
Thanks for your help Pekka. Whenever I upload pictures it automatically setst he permissions to 640. I created a file to see what my default umask was it the file was 644, the directories themselves are 777 Any idea why this is? It is quite a pain to have to reset all the permissions manually.

I quite like EE, now I just have to figure out how to customize it so that it looks more like the reset of my website, headers, footers etc.

Cheers,

Vince