Current position: Home > Default > [Apache 2] Critical error mod_rewrite: Could not set permissions on rewrite
[Apache 2] Critical error mod_rewrite: Could not set permissions on rewrite
Well I had a look around to this problem and it seems it is specific to mac os system on intel machines, so I send my post here.
I had installed the apache 2 server from www.serverlogistics.com and it seems to start. However it is impossible to log into my local website with an error in my web browser "can't log to "localhost" server".
By reading the logs I got in /Library/Apache2/logs/error_log (where there is also a httpd.pid file): [crit] (14)Bad address: mod_rewrite: Could not set permissions on rewriteloglock; check User and Group directives Configuration Failed
So, I commented the line "LoadModule rewrite_module modules/mod_rewrite.so" in /Library/Apache2/conf/httpd.conf with no efffect at all.
Then I don't know what to do.... any idea please ?
NB : I did not configure or set any htaccess file in any directory.
Well, I had tried several ways among others MAMP. With, MAMP, I experienced some problems running MySQL and or Apache server.
If you'd like help, you need to describe the specific problems you're having. You're not giving people here much to go on in order to be able to help. Without knowing what you've already tried, and what the results were, it's impossible to say if you've just made a simple mistake or if you've truly hit upon something that won't work. The Apache logs are especially helpful, with lots of detailed information to help in troubleshooting.
To say the true, I bought this Macbook because the system kernel is 100% compatible with Linux, and I was full of naives hopes, thinking that I will install/compile easily softwares that are usual under Linux world.....
I certainly haven't had much problem compiling and installing software that's distributed as source code, though I haven't tried to compile Apache. While it's true that much of the software will compile, it's also true that you might have to make some small changes here and there to the source code to get it to work correctly. But you might also have to do the same thing to get them to compile on different Linux distributions. So OS X isn't that different in that respect.
If you want to get Apache 2 running with MAMP, post back with specific information on what problems you had and I'll try to help. I've been hacking at Apache installations for many years now, so if I know the problems you're having, there's a good chance I've been through them, too.
- 1Can I get all my stuff back after a reset even if it hasn't been backed up for months? 10-11
- 2Install Linux on a Imac 24 to an external drive 10-11
- 3Problems after installing OS X 10.5.4 Leopard 10-11
- 4Sharing internet with ios6 doesn't work 10-11
- 5Crsctl behaving strangely on 10.1.0.5 Linux(x86) 10-11
- 6Change toolbar in an alv tree 10-11
- 7My silver 80 gb ipod classic is part 10-11
- 8Has anyone fixed the Headstart libraries for Forms 11 ? 11-30
- How to configure single web server instance to multiple application servers..10/11
- CD-DRIVE copying process is extremely slow on windows 7 professional 64 bit (on MSI workstation)10/11
- Burning CDs in mono10/11
- When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail., When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail.10/11
- How do I make a line fade?11/30
- Destination database instance is 'started' not 'mounted'11/30
- Live view doesn't correctly pass URL parameters from HTML docs?11/30
- How to update environment in Linux?11/30
- Integartion CRS and CR into the system11/30
- Connecting an XBox Controller11/30