Welcome to HostingForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

I want to use ~user/public_html

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Websites not working  
Author Message
R.A.M.

External


Since: Nov 08, 2007
Posts: 17



(Msg. 1) Posted: Thu Feb 21, 2008 2:06 pm
Post subject: I want to use ~user/public_html
Archived from groups: alt>apache>configuration (more info?)

Hello
I have downloaded and installed Apache in Fedora Linux.
I have created public_html in my /home/robert directory. In httpd.conf
file I have set:
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
But when I try to open localhost/~robert/MyWebsite/ I receive
Forbidden
You don't have permission to access /~robert/MyWebsite/ on this server.
I also assigned public_html and MyWebsite directories to apache group,
but it didn't help.

Could you help me please?
/RAM/

 >> Stay informed about: I want to use ~user/public_html 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 2) Posted: Thu Feb 21, 2008 2:06 pm
Post subject: Re: I want to use ~user/public_html [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

Back to top
Login to vote
R.A.M.

External


Since: Nov 08, 2007
Posts: 17



(Msg. 3) Posted: Fri Feb 22, 2008 7:13 am
Post subject: Re: I want to use ~user/public_html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi pisze:

> Check if the /home and /home/robert and /home/robert/public_html have
> the correct permissions (minimum they must be exectuable by everybody
> rwx-----x).

I checked: executable attribute was added. I also added r-x attributes
to apache group.

> Be also sure that you have a 'MyWebsite' directory in your
> public_html dir and that too has execute permissions and an index.html
> file in it.

I verified.

> Check in the error_log the _real_ error.

The error line is:
[Fri Feb 22 08:29:46 2008] [error] [client 127.0.0.1] (13)Permission
denied: access to /~robert/MyWebsite/ denied

Could anyone help me please?
/RAM/
 >> Stay informed about: I want to use ~user/public_html 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 4) Posted: Fri Feb 22, 2008 7:13 am
Post subject: Re: I want to use ~user/public_html [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

Back to top
Login to vote
Display posts from previous:   
Related Topics:
newbie: I want to use ~user/public_html -

new user, for test - i'm a new user, test~!

cgi under ~user/public_html on RH9 - <font color=purple> ;> In my experience, "Premature end of script headers" is generally casued by</font> <font color=purple> ;> the program.</font> <font color=purple> ;> </font&...

User permissions - I've installed apache2 on debian with mod_vhost. In [...]/htdocs/ are symlinks like www.domain1.com and www.domain2.com which link to /home/user1/public_html and /home/user2/public_html. So far this works fine. Every user can login via ftp, where its...

cgi under ~user/public_html on RH9 - hello, I cannot execute cgi in userdir public_html, error message is "Premature end of script headers" On may 2003, there had been the same issue on this group:..
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]