Re: Apache2 rewrite_log_lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I think this could be the issue with the mod_rewrite: Could not set permissions on rewrite_log_lock bug i am having:

http://www.mail-archive.com/dev@xxxxxxxxxxxxxxxx/msg17461.html

Regards, Sam

2008/8/28 Sam Wootton <sam.wootton@xxxxxxxxx>
Hi,

Thanks for your reply and advice. Much appreciated.

I have this in my conf:

RewriteLog "logs/rewrite.log"

I think i was just being lazy when i typed the sentence: RewriteLog "logs/rewrite.log"

However, i still do not get things working, and still get the same error.

I'm not so sure the error (of permissions and logs) is actually 100% the way to solve this (i could well be wrong on that), but i cannot see why it would be complaining. This is my conf:

RewriteLog "logs/rewrite.log"
RewriteLogLevel 0
RewriteEngine Off

The logs is has /Library/Apache/ prepended to it.

Regards, Sam



2008/8/28 Ron Savage <ron@xxxxxxxxxxxxx>

Hi Sam


> The permissions in the /apache/logs directory are all

Lower case A? No 2?

See below.

> -rw-rw-r--
>
> however, in my attempt (temporarily) to get things working, i did
> chmod 777 on all directories - and this still didn't work (i got the
> rewrite lock error still).
[snip]

>         >
>         > RewriteLog "/Library/Apache2/logs/

/Library? Upper case A? 2?

>         > rewrite.log"
>         > RewriteLogLevel 0

>From the docs, http://127.0.0.1/manual/mod/mod_rewrite.html#rewritelog
it says: 'The RewriteLog directive sets the name of the file...'

So
1) It's a file name not a dir name
2) Ensure all components of the path are meaningful
3) Patch httpd.conf and restart the server

--
Ron Savage
ron@xxxxxxxxxxxxx
http://savage.net.au/index.html



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux