This is a discussion on Newbie: First steps - first question within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi! I just started to set up a Homepage at our local LAN. So I wrote a simple "index&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi!
I just started to set up a Homepage at our local LAN. So I wrote a simple "index"-file as a first start. The dir "/srv/www/htdocs" looks like this: torsten@pc-1:/srv/www/htdocs> ll insgesamt 128 lrwxrwxrwx 1 root root 13 2003-07-13 13:30 DownloadArea -> /usr/download lrwxrwxrwx 1 root root 23 2003-07-14 16:20 Pictures -> /home/torsten/Pics/More lrwxrwxrwx 1 root root 11 2003-07-13 13:30 PublicStuff -> /usr/public -rw-r--r-- 1 torsten users 1418 2003-07-15 07:53 index.html -rw-r--r-- 1 torsten users 14559 2003-07-14 17:22 logo.jpg The code-fragment looks like this: <div align="center"> <H2>Available Resources</H2> <A HREF="./DownloadArea">DOWNLOADS</A><br> <A HREF="./PublicStuff">PUBLIC STUFF</A><br> <A HREF="./Pictures" >PICTURES</A><br> </div> The problem: If someone clicks on "DownloadArea" or "PublicStuff", everything works fine, while "Pictures" ends up in a "Forbidden You don't have permission to access /Pictures on this server. Apache/1.3.27 Server at pc-1.home.lan Port 80" Neither the user nor root can access this directory/link. The question: Can someone explain, how to solve this? Best Regards, Torsten -- - Today is the past of tomorrow - Linux is like a Wigwam: No Windows, no Gates - but Apache inside! - registered Linux user #194586 (http://counter.li.org) |
|
|||
|
Hi davide !
>> You don't have permission to access /Pictures on this server. >> Apache/1.3.27 Server at pc-1.home.lan Port 80" > Check if on /usr/public you have permissione 755 (rwxr-xr-x). No, I tried 755 and 777 for "/home/torsten/Pics/More", but it is still the same... Regards, Torsten -- - Today is the past of tomorrow - Linux is like a Wigwam: No Windows, no Gates - but Apache inside! - registered Linux user #194586 (http://counter.li.org) |
|
|||
|
Also make sure that each directory leading up to it is that way, if
/home/torsten/ is not allowing then it doesn't matter that /home/torsten/Pics/More is. "Torsten Beekhuis" <tbeekhuis@knuut.de> wrote in message news:astcu-732.ln1@beekhuis.myfqdn.de... > Hi davide ! > > >> You don't have permission to access /Pictures on this server. > >> Apache/1.3.27 Server at pc-1.home.lan Port 80" > > > Check if on /usr/public you have permissione 755 (rwxr-xr-x). > > No, I tried 755 and 777 for "/home/torsten/Pics/More", but it is still > the same... > > > Regards, Torsten > > -- > - Today is the past of tomorrow > - Linux is like a Wigwam: No Windows, no Gates - but Apache inside! > - registered Linux user #194586 (http://counter.li.org) |
|
|||
|
Hi ZedGama3 !
> Also make sure that each directory leading up to it is that way, if > /home/torsten/ is not allowing then it doesn't matter that > /home/torsten/Pics/More is. Mmh - I wonder. That is equal to set nearly the whole filesystem to "755", or am I wrong? This was the reason to make a symbolic link to the target... Again: Why does it work on "normal" directories, but not this "home-sub-directory" ??? Regards, Torsten -- - Today is the past of tomorrow - Linux is like a Wigwam: No Windows, no Gates - but Apache inside! - registered Linux user #194586 (http://counter.li.org) |
| Thread Tools | |
| Display Modes | |
|
|