[vox-tech] quick apache question

Foo Lim foolim at gmail.com
Sat Feb 25 03:42:26 PST 2006


On 2/25/06, Cylar Z <cylarz at yahoo.com> wrote:
> Hey all,
>
> [...]
>
> Now I have a completely unrelated question about
> Apache HTTP server, one that I couldn't find the
> answer to at the Apache Server Project's website. The
> Linux server I'm working on runs HTTP server 2.0.
>
> A user on the system wants to have a webpage space
> within his shell account. He has already created a
> public_html directory & uploaded an index.html file
> into the directory. He has also set his public_html
> folder to chmod 755 and his index.html file therin to
> chmod 644.
>
> However, when he fires up his browser and types in
>
> www.mywebserver.com/~user
>   OR
> www.mywebserver.com/user
>
> he gets a Not Found error message instead of his
> webpage. My guess is that the problem is somewhere in
> Apache's config file; that is, the http server isn't
> looking in the correct folder for the index.html file.
>
>
> If I'm right, where in httpd.conf is the line that I
> need to modify? If I'm *wrong*, then what's the
> problem?
>
> The server also has a main webpage and some virtual
> hosts. All of these seem to be functioning normally,
> and yes, I double-checked that httpd is running.
>
> Ideas?
>
> Thanks, Matt

Hi Matt,

Take a look at the userdir module at:

http://httpd.apache.org/docs/2.2/mod/mod_userdir.html

You'll need that loaded & enabled using the UserDir directive.  I
think the default httpd.conf has an example in there.

HTH,
Foo


More information about the vox-tech mailing list