Gossamer Forum
Home : General : Perl Programming :

Apache 1.3.20

Quote Reply
Apache 1.3.20
I've just upgraded to to the latest apache and all went well and all the sites are up an running but the Links2 admin directories produce a server hangup error. I've discovered that it is the .htaccess files causing the problem as when I overwrite the .htaccess file with a blank one it works properly again. However many directories have .htaccess files in and they work fine - it only seems to be the ones using BASIC authentication.

Does anyone know why this may be happening?....I looked at apache.org and checked the Apache 1.3.* updates list but didn't see anything relating to my problem.

Have there been any syntax changes that anyone knows of or has anyone had a similar problem?

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
I have a problem with my Everysoft auction script on an apache server.. It say syntax, but I don't know how to fix it.. so I need to know to.

-------------
Jeremy
Quote Reply
Re: Apache 1.3.20 In reply to
I think may be a different issue to what I'm experiencing.

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
Hmm this is so wierd. Any directory with a htaccess file in (with something in it) gives a server hangup error.

I've looked in httpd.conf, srm.conf and access.conf and all looks in order. Can anyone think of any other settings to check?

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
Ewwwwwwwwwwwwwwwwwww

MAJOR suckness!

It is due to mod_gzip.....

Any ideas as to how to solve it?

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
What about if you try excluding it in the .conf directives?


mod_gzip_item_exclude file ^.htaccess$


Don't know if it will work, but it might be worth a try?

Regan.


Quote Reply
Re: Apache 1.3.20 In reply to
Yeah I tried that earlier and apache didn't like it - caused an error when I restarted apache.

I used:

mod_gzip_item_exclude file "\.htaccess$"

....is it standard to have to exclude .htaccess?

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
Not that I'm aware of, I couldn't see it mentioned in any of the mod_gzip docs.

Hmmmm... strange problem.

R.


Quote Reply
Re: Apache 1.3.20 In reply to
Ah ignore me - the .htaccess line worked this time (must have made an error last time).....time to test...

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
No :(

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
What does it say in the error_log file?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Apache 1.3.20 In reply to
Hi,

It says:

[Mon Aug 27 07:00:10 2001] [error] mod_gzip: EMPTY FILE [/home/tmp/_14996_99_0.wrk] in sendfile2
[Mon Aug 27 07:00:10 2001] [error] mod_gzip: Make sure all named directories exist and have the correct permissions.

I thought as mod_gzip was running as root then it shouldn't have a permission problem.

The directory exists.

It seems strange that it only has this problem with directories that have a .htaccess in.

btw the tmp directory is so full - is it safe to delete all the files in there?

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
Hi,

No mod_gzip runs as the apache user (so most likely user nobody). Make sure /home/tmp is readable and writeable by user nobody.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Apache 1.3.20 In reply to
In Reply To:
....is it standard to have to exclude .htaccess?
Most apache's come with something like:

<Files ".(htaccess|htpasswd)$">
Order allow,deny
Deny from all
</Files>

Which refuses serving of any .htaccess or .htpasswd file.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Apache 1.3.20 In reply to
Hi,

The server is running as httpd.

I made a new directory and chown'd, chgrp'd it to httpd and to be safe chmodded it to 777 and it still gives me the same error. (I changed the path to the tmp file in httpd.conf)

Any ideas?

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
Yeah I have:

<Files ".ht*">
deny from all
</Files>


Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
Still not working unfortunately :(

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Apache 1.3.20 In reply to
Report a bug on the Apache bug system?

Wil

Quote Reply
Re: Apache 1.3.20 In reply to
Im pretty sure it isnt an apache bug.

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/