need some help with apache
hi i am having trouble with my httpd (apache) i have read (redhat &fc5 bible)and did as it said in the book i can get the var/www/html/* to work but not public_html i uncommented UserDir "public_html"
and made all the file to home/user name 777 to public_html and i still get Forbidden You don't have permission to access /~celnix/index.html on this server where am i going wrong? i got it to work on windows 2003 webserver but -hell if i can get it to work on linux fc5 or redhat 4.3 :cry: had a few goes and changed a few things but still no go. <Directory public_html> Order Allow,Deny Allow from all </Directory> <IfModule mod_userdir.c> # # UserDir is disabled by default since it can confirm the presence # of a username on the system (depending on home directory # permissions). # UserDir "enable all celnix" # # To enable requests to /~user/ to serve the user's public_html # directory, use this directive instead of "UserDir disable": # UserDir "public_html" am i going at it the wrong way or is there more to this permission thing? |
Quote:
Quote:
|
hi , thank's for your comment.
i changed it to: <Directory public_html> Order Allow,Deny Allow from all </Directory> <IfModule mod_userdir.c> # # UserDir is disabled by default since it can confirm the presence # of a username on the system (depending on home directory # permissions). # #UserDir "enable all celnix" # # To enable requests to /~user/ to serve the user's public_html # directory, use this directive instead of "UserDir disable": # UserDir "public_html" and sadly i still get the same: Forbidden You don't have permission to access /~celnix/index.html on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. tryed a few other things too: <Directory /home/*/public_html> Order Allow,Deny Allow from all </Directory> <IfModule mod_userdir.c> # # UserDir is disabled by default since it can confirm the presence # of a username on the system (depending on home directory # permissions). # #UserDir "enable all celnix" # # To enable requests to /~user/ to serve the user's public_html # directory, use this directive instead of "UserDir disable": # UserDir "public_html" there must some thing else i am missing some where. |
This may be a silly question, but you DID restart apache after your changes?
Cheers, Tink |
lol-lmao
good thinking batman :) , yes i did i did a service httpd stop and start,and a restart
|
there is nothing else?
there is nothing else than setting the files from root to home & users account to 777, i have an eggdrop bot and it can write to var/www/html , so i can't see why i get this
Forbidden You don't have permission to access /~celnix/index.html on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. this should be a walk in the park. maybe i will try turning off one of the modules |
All times are GMT -5. The time now is 10:52 PM. |