httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Pierce" <paged...@speakeasy.net>
Subject Re: [users@httpd] newbie question
Date Mon, 04 Nov 2002 18:35:30 GMT


You still need to give permissions to the directory before it can be accessed.



*********** REPLY SEPARATOR  ***********

On 11/4/2002 at 9:21 PM Sourian wrote:

>The root for default domains is on /var/www/html/
>
>But the folder is /home/userdir/work
>
>I'll look into httpd.conf for allowing.
>
>Thnks.
>Sourian
>
>On Mon, 2002-11-04 at 16:16, Justin Williams wrote:
>> You might also be running into the same thing that I ran into.  If /work
>in
>> the root directory of the server?  Or is it elsewhere?  For example, I
>put
>> other sites under /home/domain on the server, while the root for the
>default
>> domain is /var/www/html.  So, I had to go into the httpd.conf and set
>> permissions up for /home/* to allow instead of deny.
>> 
>> ----- Original Message -----
>> From: "Diego Cimarosti" <cd@rete039.it>
>> To: <users@httpd.apache.org>; <users@httpd.apache.org>
>> Sent: Monday, November 04, 2002 1:09 PM
>> Subject: Re: [users@httpd] newbie question
>> 
>> 
>> > This simply means chmod the directory to 755 (the important thing is
>the
>> > last 5)
>> >
>> > Just type chmod -R 755 /home/userdir
>> >
>> > You shuld get this permissions to the files
>> >
>> > -rwxr-xr-x
>> >
>> > So that they are readable and executable for anybody (i.e. an apache
>> client)
>> >
>> > Diego
>> >
>> > At 10.02 04/11/2002 -0800, Steven Pierce wrote:
>> >
>> >
>> > >What do you have the permissions set to for the /work directory?? 
>That
>> would
>> > >be something you can check.
>> > >
>> > >*********** REPLY SEPARATOR  ***********
>> > >
>> > >On 11/4/2002 at 8:57 PM Sourian wrote:
>> > >
>> > > >Hi list!
>> > > >
>> > > >This is my first post, so be nice ;)
>> > > >
>> > > >I have an Apache server, running on a RedHat 8.0.
>> > > >
>> > > >I use it for testing various projects I made (I am a student), and
I
>> > > >have this issue: In the /var/www/html/ directory I made a symlink
>> ~/work
>> > > >pointing to a directory from /home/userdir/...
>> > > >
>> > > >My problem is that although I can see the test page when I enter IP
>> into
>> > > >browser, when I write http://xxx.xxx.xxx.xxx/work I get this error
>> > > >message:
>> > > >
>> > > >Forbidden
>> > > >
>> > > >You don't have permission to access /work/ on this server.
>> > > >
>> > > >Additionally, a 403 Forbidden error was encountered while trying to
>use
>> > > >an ErrorDocument to handle the request.
>> > > >Apache/2.0.40 Server at _default_ Port 80
>> > > >
>> > > >I've studied the manuals for Apache 2.x, but I couldn't figure it
>out.
>> > > >I've let the server follow symlinks, even if the owner of the folder
>> > > >differ, but the error remain.
>> > > >
>> > > >Thanks for your time. Sorry if I bothered you.
>> > > >
>> > > >Regards,
>> > > >Sourian
>> > > >
>> > > >
>> > >
>>---------------------------------------------------------------------
>> > > >The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> > > >See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > > >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > > >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > > >For additional commands, e-mail: users-help@httpd.apache.org
>> > >
>> > >
>> > >
>> > >
>> > >---------------------------------------------------------------------
>> > >The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> > >See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > >For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> >
>> > ---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP Server
>Project.
>> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> 
>> 
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>> 
>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message