Newbie: First steps - first question

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&...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-15-2003
Torsten Beekhuis
 
Posts: n/a
Default Newbie: First steps - first question

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)
  #2 (permalink)  
Old 07-15-2003
Torsten Beekhuis
 
Posts: n/a
Default Re: Newbie: First steps - first question

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)
  #3 (permalink)  
Old 07-15-2003
ZedGama3
 
Posts: n/a
Default Re: Newbie: First steps - first question

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)



  #4 (permalink)  
Old 07-15-2003
Torsten Beekhuis
 
Posts: n/a
Default Re: Newbie: First steps - first question

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:09 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0