Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

userdir acces

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  .htaccess file makes 403  
Author Message
user2441

External


Since: Aug 27, 2003
Posts: 4



(Msg. 1) Posted: Wed Aug 27, 2003 1:56 pm
Post subject: userdir acces
Archived from groups: alt>apache>configuration (more info?)

Hi

I've got a debian woody 3.0 with apache, php and mysql installed

I want to have acces to my public_html dir.

in httpd.conf, the module userdir is loaded and there is :
<IfModule mod_userdir.c>
   UserDir public_html
</IfModule>
<Directory /home/*/public_html>
......
<Directory>


so, I created a /home/yannick/public_html dir with index.html in it and
give it 755 rights !

But there is nothing in my browser at http:/192.168.0.1/~yannick or
<a style='text-decoration: underline;' href="http://192.168.0.1/~yannick/public_html" target="_blank">http://192.168.0.1/~yannick/public_html</a>

I just have :
Forbidden
You don't have permission to access /~yannick on this server.

what happens ?

thanks
--
Yannick F.
enlever toto_ pour me répondre....<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: userdir acces 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 2) Posted: Wed Aug 27, 2003 6:54 pm
Post subject: Re: userdir acces [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yannick F. wrote:

 > I've got a debian woody 3.0 with apache, php and mysql installed
 >
 > I want to have acces to my public_html dir.
 >
 > in httpd.conf, the module userdir is loaded and there is :
 > <IfModule mod_userdir.c>
 > UserDir public_html
 > </IfModule>
 > <Directory /home/*/public_html>
 > ......
 > <Directory>
 >
 > so, I created a /home/yannick/public_html dir with index.html in it and
 > give it 755 rights !
 >
 > But there is nothing in my browser at http:/192.168.0.1/~yannick or
<font color=purple> > <a style='text-decoration: underline;' href="http://192.168.0.1/~yannick/public_html</font" target="_blank">http://192.168.0.1/~yannick/public_html</font</a>>
 >
 > I just have :
 > Forbidden
 > You don't have permission to access /~yannick on this server.

The ErrorLog-file tells the reason. Please post the significant lines.

cc<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: userdir acces 
Back to top
Login to vote
user2441

External


Since: Aug 27, 2003
Posts: 4



(Msg. 3) Posted: Thu Aug 28, 2003 1:09 pm
Post subject: Re: userdir acces [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hi !

  > The ErrorLog-file tells the reason. Please post the significant lines.
  >
[error] file does not exist : /var/www/yannick/

but there is these lines in httpd.conf

<IfModule mod_userdir.c>
UserDir public_html
</IfModule>


<Directory /home/*/public_html>
......
<Directory>

So I thought that my personnal dir was in /home/yannick/public_html/

Why is apache looking for my files in /var/www/yannick ?
(/var/www is DocumentRoot)

thanks

--
Yannick F.
enlever toto_ pour me répondre....<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: userdir acces 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
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 ]