Posted by J.O. Aho on 01/12/06 13:26
ryan wrote:
> awww. you can't sleep either eh?
It's not that bad really, just hope that I'll fall asleep somewhat more
"normal" time tonight :)
> I get the error "Sorry, can't find a file0520488R.pdf" im
> guessing this is because i don't have the /home/username/pdf set up
> correctly?
There can be a couple of reasons
1. you don't have the file in question
2. the path is wrong
3. the webserver don't have the right to access the directory
In a *nix environment, just see to that the directory has the folloving
privileges set
drwxr-xr-x 2 username users 296 Jan 12 2006 pdf
this can be doen in a shell with:
chmod 755 pdf
and for all files inside the directory
chmod 644 <filename>
whcih gives
-rw-r--r-- 1 username users 2092 Jan 12 2005 anime.pdf
Hope this will help to fix things for you.
//Aho
Navigation:
[Reply to this message]
|