title: How do I find my httpd.conf file?
body: <p>*<em>Edit: Anyone who's using MAMP PRO on a Mac running Mac OS X Lion may find it helpful to know that I finally tracked down my httpd.conf file in my personal library at Application Support > appsolute > MAMP PRO > httpd.conf. The reason I couldn't find it with a normal search is that it's a hidden directory. To access it, open Finder, Choose Go > Go To Folder, then type in ~/Library After tracking it down, you may then discover that it's almost impossible to edit your httpd.conf file. ); *</em></p>
  
  <p>This is a weird one. I'm using MAMP on a Mac and want to modify my httpd.conf file so it defaults my URL's to lower case. So I navigated to Applications > MAMP > conf > apache > httpd.conf and added this line of code:</p>
  
  <pre><code>RewriteMap tolower int:tolower
  </code></pre>
  
  <p>I then modified one of my .htaccess files accordingly, but nothing happened. (Yes, I restarted my servers.)</p>
  
  <p>I then reopened my httpd.conf file and added this code, which I understand is supposed to display "verbose" messages in my log file:</p>
  
  <pre><code>LogLevel trace8
  </code></pre>
  
  <p>I then opened my log file @ Application > MAMP > logs > apache_error.log. There's code associated with the web pages I most recently visited, but they're just generic messages - not "verbose" messages.</p>
  
  <p>Someone who understands Apache far better than me told me this indicates that the httpd.conf file I modified isn't being used by my server or sites. In other words, there must be another httpd.conf file out there somewhere.</p>
  
  <p>Sure enough, I typed httpd.conf into Apple's finder and found half a dozens files with that name. I don't know where they came from; I recently tried to install Drupal and Aqquia, so that might be where some of them originated.</p>
  
  <p>Anyway, I added the code (including LogLevel trace8) to EVERY httpd.conf file, restarted my servers, and I STILL don't see any changes on my websites, and I still just see generic code in my log file.</p>
  
  <p>I'm completely snowed. It looks like the httpd.conf file in my MAMP folder is out of the loop, yet the Apache log file in the same folder is being used...or can errors be written to more than one Apache log file at the same time?</p>
  
  <p>If I rename the httpd.conf file in my MAMP folder and restart my servers, my sites display fine, further suggesting that this httpd.conf is outside the flow. Yet if I rename a file that sits beside it named mime.types, my web pages don't display.</p>
  
  <p>Anyway, does anyone have any idea how I can figure out what's going on?</p>
  
  <p>If not, then can you advise me on Plan B? If I can't find my httpd.conf file, then I'll have to abandon ship and just do it online. I've found the path to my online httpd.conf file. I don't know how to open online files, but I assume I can copy it to my computer with an ftp program, open it and modify it, then publish it online.</p>
  
  <p>So here are my questions: Am I correct in understanding that I can safely add the code <strong>RewriteMap tolower int:tolower</strong> to my online httpd.conf file without affecting any of my websites UNTIL I also modify a .htaccess file(s)? And if I modify my online config file, do i have to restart the server, just as I do on my computer?</p>
  
  <p>Thanks.</p>