Apache Server configuration support - Re: Apache 2.0.52 (Fedora) error

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > March 2005 > Re: Apache 2.0.52 (Fedora) error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Apache 2.0.52 (Fedora) error
Tim

2005-03-19, 2:48 am

"Jesse" <jukasATcursedbrotherhoodDOTcom> posted:

> I'm relatively new to Linux though I've used the knoppix hdd version of
> Debian and I'm playing with Fedora Core 3 atm. Fedora came with Apache
> 2.0.52 installed and httpd starts fine, and I can go to the url and get
> the placeholder page.
>
> However when I type in http://domain.com/~user I get a 404 error. I've
> setup a public_html directory for my non root username under /home/ but
> it doesn't seem to be reading it. When I look at the error_log I see
> the following
>
> [Thu Mar 17 17:26:29 2005] [error] [client x.x.x.x] File does not exist:
> /var/www/html/~user


Look through the configuration file, and the manual, for the options
related to userdir. You don't have it enabled.

If you've also got selinux in use on your system, you're probably in for
some grief with it, as well. As it won't allow Apache to read user files,
until configured to do so.

I'm in two minds as to whether selinux provides any useful benefits, to
bother with reconfiguring it, or just to stop using it. You can decide
what you prefer to do. I'd seen the following information about dealing
with it in the last few days:

<http://fedora.redhat.com/docs/selinux-apache-fc3/>

And:

...... A problem with the context of one or more of the Apache files when
installed using RPM. You can actually fix it pretty easy (I had help).
You can issue the following command (as root): /sbin/fixfiles -F relabel

You may or may not need to restart the webserver or the computer after
reconfiguring these things. But be warned that that /sbin/fixfiles
instruction does every file on the computer, which may take some time. The
information in that weblink shows a way to just do a specific directory (on
about the second or third page, I think).

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com