Re: [newbie] apache public_html help needed

2001-12-03 Thread Matt Greer

On Sunday 02 December 2001 09:54 pm, you wrote:
 I know I had set this up right on a different CPU, but I can't figure
 out what I'm doing wrong.  For some reason I can't get my ~dherndon43/

 directory to work.  I'm getting a:
  Forbidden
  You don't have permission to access /~dherndon43/test.php on this server.

 Where are the apache permissions placed?

Here;s a snippet from the apache faq, it might help.


http://httpd.apache.org/docs/misc/FAQ.html#forbidden
--
Why do I get a Forbidden message whenever I try to access a particular 
directory? 

This message is generally caused because either

The underlying file system permissions do not allow the User/Group under 
which Apache is running to access the necessary files; or
The Apache configuration has some access restrictions in place which forbid 
access to the files.

You can determine which case applies to your situation by checking the error 
log.

In the case where file system permission are at fault, remember that not only 
must the directory and files in question be readable, but also all parent 
directories must be at least searchable by the web server in order for the 
content to be accessible.
---
Why do I get a Forbidden/You don't have permission to access / on this 
server message whenever I try to access my server? 

Search your conf/httpd.conf file for this exact string: Files ~. If you 
find it, that's your problem -- that particular Files container is 
malformed. Delete it or replace it with Files ~ ^\.ht and restart your 
server and things should work as expected.

This error appears to be caused by a problem with the version of linuxconf 
distributed with Redhat 6.x. It may reappear if you use linuxconf again.

If you don't find this string, check out the previous question.


Matt

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] apache public_html help needed

2001-12-03 Thread Dennis Herndon

Outstanding, thanks for the info.  I will try this out when I get home
tonight.

-Original Message-
From: Michael Viron [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 02, 2001 23:18
To: [EMAIL PROTECTED]
Subject: Re: [newbie] apache public_html help needed


In order for apache to be able to access the directory, you must have a
minimum of permissions 0711 on all directories above the 'public_html'
directory.  'public_html' must be at least 0755 permission, and all files
underneath need to be at least 644.

(0711 == user read / write / execute, group execute, other execute
0755 == user read / write / execute, group read / execute, other read /
execute
0644 == user read / write, group read, other read).

If you still have problems beyond that, take a look at the error_log file
under /var/log/httpd that apache uses.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida

At 10:54 PM 12/02/2001 -0500, you wrote:
I know I had set this up right on a different CPU, but I can't figure 
out what I'm doing wrong.  For some reason I can't get my ~dherndon43/ 
directory to work.  I'm getting a:

 Forbidden
 You don't have permission to access /~dherndon43/test.php on this server.
 

Where are the apache permissions placed?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] apache public_html help needed

2001-12-03 Thread Dennis Herndon

Yes I did see that item in my httpd.conf file.  I didn't realize it was
malformed

Thanks for this info.

Here;s a snippet from the apache faq, it might help.


http://httpd.apache.org/docs/misc/FAQ.html#forbidden
--
Why do I get a Forbidden message whenever I try to access a particular 
directory? 

This message is generally caused because either

The underlying file system permissions do not allow the User/Group under 
which Apache is running to access the necessary files; or
The Apache configuration has some access restrictions in place which forbid

access to the files.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] apache public_html help needed

2001-12-02 Thread Michael Viron

In order for apache to be able to access the directory, you must have a
minimum of permissions 0711 on all directories above the 'public_html'
directory.  'public_html' must be at least 0755 permission, and all files
underneath need to be at least 644.

(0711 == user read / write / execute, group execute, other execute
0755 == user read / write / execute, group read / execute, other read /
execute
0644 == user read / write, group read, other read).

If you still have problems beyond that, take a look at the error_log file
under /var/log/httpd that apache uses.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida

At 10:54 PM 12/02/2001 -0500, you wrote:
I know I had set this up right on a different CPU, but I can't figure 
out what I'm doing wrong.  For some reason I can't get my ~dherndon43/ 
directory to work.  I'm getting a:

 Forbidden
 You don't have permission to access /~dherndon43/test.php on this server.
 

Where are the apache permissions placed?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com