Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weird Permissions problems

Status
Not open for further replies.

bokane

Technical User
Oct 5, 2000
2
US
Hey, guys - just wondering if anyone here can help me out with a little problem I've been having.
I'm running Apache 1.3.12 on a Linux Mandrake 7.1 system. I built the version of Apache that I'm using with the "Apache Compile Kit."

When I try to access I get a 403 error, with the standard "You don't have permission to access /" message. I can't figure out why I'm getting this; I've set everything in httpd.conf to "allow", and I've chmod'd everything - files and directories - +r, so there's no good reason, that I can think of, for it to be doing this.
Now, looking at the error_log, I see that every time I try to access the server, an httpd child pid exits with a segfault.

What's up with this? Do I just need to rebuild? Any other way for me to fix it?
 
First, make sure that you have an index.html file, or another file that is in your search order. If directory indexing is turned off, and there is no default page to show, you will get that error.

Also, make sure that if you have a .htaccess file in your document root, that it has read permissions for the anonymous user. If you chmoded everything by using a wildcard, it will not apply to hidden files, such as .htaccess.

You can even try remnoving the .htaccess file.

Did you compile in support for Frontpage Extensions?

Regards,
Gerald




[sig][/sig]
 
Hey - thanks for the suggestions. There is indeed an index.html file - it's the default one that comes with Apache. There's no .htaccess file in the / directory, either, and Indexing is turned on in the httpd.conf. The only extensions I have are mod_perl and mod_php4.

When I examined the /logs/error_log file, I found that every time I try to access the site, an Apache child segmentation faults -- any idea why this is happening? [sig][/sig]
 
Try compiling the apache tar file and making it manually. It is pretty simple to do. Just untar it, cd into the directory and enter these commands:

./configure
make
make install

Or is this what you did when you said that you used the apache compile kit? Im not sure exactly what that is.

A segmentation fault does not sound good. That normally means that an application is trying to access memory that it shouldnt be. Probably does need to be compiled again. Might have some options compiled in that your system does not fully support.

Regards,
Gerald


[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top