היי כולם.
התקנתי apache2 ו mod_php על הקופסא (מנדרייק 9.2)
http://jointhe.darkforces.biz/index.html - עולה תקין
http://jointhe.darkforces.biz/index.php - עולה תקין
הקבצים האלה יושבים ב /var/www/html/
אך כשאני מנסה להעלות קבצים מתיקיית משתמש:
http://jointhe.darkforces.biz/~corwin/indes.php
אני מקבל הודעת שגיאה:
ציטוט: |
Forbidden
You don't have permission to access /~corwin on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6.3.92mdk) PHP/4.3.2 Server at 127.0.0.1 Port 80 |
הלוג ב /var/log/httpd :
ציטוט: |
[Thu Jan 29 20:19:26 2004] [error] [client 217.132.238.10] (13)Permission denied: access to /~corwin/index.php denied |
הרשאות התיקיה:
drwxr-xr-x 2 apache apache 4096 Jan 29 05:06 public_html/
הרשאות הקובץ:
-rw-r--r-- 1 apache apache 110 Jan 29 05:20 index.php
זה מה שרשום לי ב /etc/httpd/conf/commonhttpd.conf
קוד: |
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
<IfModule mod_userdir.c>
UserDir public_html
</IfModule> |
מכיוון שזאת הפעם הראשונה שאני מנסה לעבוד כך, יכול מאוד להיות שאני פשוט מפספס משהו בדרך. אשמח לעזרה
יואב.