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.
- 1My HP series 3310 won't print wirelessly after upgrading from windows XP to windows 7 32 10-11
- 2SAPSCRIPT problem - skipping lines in an element 10-11
- 3[Issue]Scrollpane Scrolling 11-30
- 46288 portrait/landscape 11-30
- 5Batch rename selected layers 11-30
- 6JNLP with JARs behind form auth? 11-30
- 7Restoring Mac HD to previous date without losing user data 11-30
- 8Truecrypt compile error 11-30
- Get dynamic filename in a Java Mapping (NOT UDF)10/11
- Bootcamp wont install windows 7 "get a blank white screen"10/11
- How can i print multiple sheets at the same time10/11
- About using F4IF_INT_TABLE_VALUE_REQUEST10/11
- Need help with reformatting to GUID partition so I can install Snow Leopard10/11
- Acrobat Pro and AutoCad 2013 for Mac10/11
- My IPad2 3G WI-FI 64GB-ITP ARE NOT STARTING CORRECTLY10/11
- Where i can get a Cisco VMware Vsphere ESXi 4.1 update 1 installable media11/30
- Widgets are broken / missing11/30
- Crystal Reports, Classical ASP and Internet Explorer 8.0 compatibility11/30