<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>DIYMacServer &#187; Tag: httpd.conf - Recent Posts</title>
<link>http://diymacserver.com/forum/</link>
<description>DIYMacServer &#187; Tag: httpd.conf - Recent Posts</description>
<language>en</language>
<pubDate>Wed, 08 Feb 2012 06:21:31 +0000</pubDate>

<item>
<title>Richard on "error Apache start `config_log_module&#039;"</title>
<link>http://diymacserver.com/forum/topic/error-apache-start-config_log_module#post-597</link>
<pubDate>Fri, 05 Dec 2008 10:29:27 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">597@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;It could be that you are starting two separate apache's&#60;/p&#62;
&#60;p&#62;To start the DIYMacserver apache you need to use &#60;code&#62;/usr/local/apache2/bin/apachectl start&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If you use &#60;code&#62;apachectl start&#60;/code&#62;, because of the PATH settings you are starting the default apple installed apache.&#60;/p&#62;
&#60;p&#62;Please check which one is referred in /Library/StartupItems/Apache2/Apache2
&#60;/p&#62;</description>
</item>
<item>
<title>bob on "error Apache start `config_log_module&#039;"</title>
<link>http://diymacserver.com/forum/topic/error-apache-start-config_log_module#post-596</link>
<pubDate>Fri, 05 Dec 2008 10:13:17 +0000</pubDate>
<dc:creator>bob</dc:creator>
<guid isPermaLink="false">596@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;&#34;apachectl start&#34; now works properly&#60;br /&#62;
Thank you.&#60;br /&#62;
I`ve installed and compiled Apache, php and MySQL following your instructions.&#60;br /&#62;
All is working fine.&#60;/p&#62;
&#60;p&#62;But I can´t start Apache2 on boot. I can enter “sudo /Library/StartupItems/Apache2/Apache2 start” in terminal after startup with no problem, and the web server starts.&#60;/p&#62;
&#60;p&#62;Any clue?
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "error Apache start `config_log_module&#039;"</title>
<link>http://diymacserver.com/forum/topic/error-apache-start-config_log_module#post-595</link>
<pubDate>Thu, 04 Dec 2008 19:22:14 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">595@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Bob,&#60;/p&#62;
&#60;p&#62;The problem is that the module that generates the error is no longer used in this version of apache. The httpd.conf therefore is out of date. The simplest method is to comment out the line which includes this module but thee might be more. &#60;/p&#62;
&#60;p&#62;The copy you performed copied the wrong httpd.conf as it is not configured to your settings. Remove your httpd.conf by renaming it and run a &#34;sudo make install&#34; to create a correct httpd.conf.
&#60;/p&#62;</description>
</item>
<item>
<title>bob on "error Apache start `config_log_module&#039;"</title>
<link>http://diymacserver.com/forum/topic/error-apache-start-config_log_module#post-594</link>
<pubDate>Thu, 04 Dec 2008 16:21:19 +0000</pubDate>
<dc:creator>bob</dc:creator>
<guid isPermaLink="false">594@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;httpd-2.2.10&#60;br /&#62;
Mac OS X 10.4.11&#60;/p&#62;
&#60;p&#62;1)make &#38;#38;&#38;#38; sudo make install (no errors)&#60;/p&#62;
&#60;p&#62;2)sudo /usr/local/apache2/bin/apachectl start&#60;/p&#62;
&#60;p&#62;httpd: Syntax error on line 207 of /etc/httpd/httpd.conf: Cannot load /usr/libexec/httpd/mod_log_config.so into server: Symbol not found: _ap_month_snames\n Referenced from: /usr/libexec/httpd/mod_log_config.so\n Expected in: flat namespace\n&#60;/p&#62;
&#60;p&#62;3)sudo cp /docs/conf/httpd.conf /etc/httpd/&#60;br /&#62;
(from httpd-2.2.10)&#60;/p&#62;
&#60;p&#62;4)sudo /usr/local/apache2/bin/apachectl start&#60;br /&#62;
httpd: Syntax error on line 29 of /etc/httpd/httpd.conf: ServerRoot must be a valid directory&#60;/p&#62;
&#60;p&#62;I´ve read similar comments on:&#60;br /&#62;
Compiling Apache on Tiger: &#60;a href=&#34;http://diymacserver.com/installing-apache/compiling-apache/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/installing-apache/compiling-apache/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I need some help.&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
</item>
<item>
<title>mastertk on "PHP doesn&#039;t install &#039;&#039;addtype&#039;&#039; in httpd.conf"</title>
<link>http://diymacserver.com/forum/topic/php-doesnt-install-addtype-in-httpdconf#post-525</link>
<pubDate>Mon, 11 Aug 2008 10:52:13 +0000</pubDate>
<dc:creator>mastertk</dc:creator>
<guid isPermaLink="false">525@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Ok thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "PHP doesn&#039;t install &#039;&#039;addtype&#039;&#039; in httpd.conf"</title>
<link>http://diymacserver.com/forum/topic/php-doesnt-install-addtype-in-httpdconf#post-524</link>
<pubDate>Sun, 10 Aug 2008 19:31:08 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">524@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Please add them yourself, restart Apache and then everything should work.
&#60;/p&#62;</description>
</item>
<item>
<title>mastertk on "PHP doesn&#039;t install &#039;&#039;addtype&#039;&#039; in httpd.conf"</title>
<link>http://diymacserver.com/forum/topic/php-doesnt-install-addtype-in-httpdconf#post-520</link>
<pubDate>Sun, 10 Aug 2008 08:59:47 +0000</pubDate>
<dc:creator>mastertk</dc:creator>
<guid isPermaLink="false">520@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hello,&#60;br /&#62;
I am new in the webserver installing on mac.&#60;br /&#62;
I have a mac mini (1.83GHZ) and I have installed mysql and apache with success,&#60;br /&#62;
I installed everything within the root account.&#60;br /&#62;
But when i compile php it doesn't add these two lines in httpd.conf&#60;/p&#62;
&#60;p&#62;AddType application/x-httpd-php .php .phtml&#60;br /&#62;
AddType application/x-httpd-php-source .phps&#60;/p&#62;
&#60;p&#62;The strange thing is that this line does get added:&#60;/p&#62;
&#60;p&#62;LoadModule php5_module modules/libphp5.so&#60;/p&#62;
&#60;p&#62;I used PHP 5.2.6&#60;br /&#62;
And Apache 2.2.9&#60;br /&#62;
and mysql: Mac OS X 10.5 (x86)		5.0.67&#60;br /&#62;
With the source file: Compressed GNU TAR archive (tar.gz)		5.0.67&#60;/p&#62;
&#60;p&#62;I hope someone can tell me how to solve this problem.&#60;/p&#62;
&#60;p&#62;KInd Regards, Thomas
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "New to OS X...seasoned PHP/MySQL dev goes nuts!"</title>
<link>http://diymacserver.com/forum/topic/new-to-os-xseasoned-phpmysql-dev-goes-nuts#post-519</link>
<pubDate>Mon, 28 Jul 2008 08:17:21 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">519@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;A short answer to your questions:&#60;/p&#62;
&#60;p&#62;1 - depends on where your files are located, if it is config files in /etc I would advise to edit them as root as making them world writable is not very secure. Otherwise feel free to change ownership.&#60;/p&#62;
&#60;p&#62;2 - You have the original Apache install and the new DIY install. The original config is in /etc/apache2 and the new DIY config is in /etc/httpd. You can remove anyone you like. I choose to keep them separate to avoid conflicts when Apple decides to change something during a security update.&#60;/p&#62;
&#60;p&#62;3- that should be possible just as you did on the Linux machines. I think you missed something in the configuration.
&#60;/p&#62;</description>
</item>
<item>
<title>jcorry on "New to OS X...seasoned PHP/MySQL dev goes nuts!"</title>
<link>http://diymacserver.com/forum/topic/new-to-os-xseasoned-phpmysql-dev-goes-nuts#post-518</link>
<pubDate>Sun, 27 Jul 2008 17:00:22 +0000</pubDate>
<dc:creator>jcorry</dc:creator>
<guid isPermaLink="false">518@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I was up until 3am last night trying to make *$($#*#@@ Apache/PHP/MySQL just WORK on my lovely new iMac.&#60;/p&#62;
&#60;p&#62;I mostly got it...I have a phpinfo() page that displays all of PHPs info...but I have some questions:&#60;/p&#62;
&#60;p&#62;1. VI, while usable, is a lot more cumbersome than I want. All of the files I'm dealing with are locked by the OS and the only way I can edit them is to sudo vi filename. What a pain in the butt! How can I set everything up so the files belong to me and I can edit them in TextEdit or similar? I tried to sudo open- a textedit filename...that didn't work.&#60;/p&#62;
&#60;p&#62;2. I seem to have more than one Apache installation on the computer...there are 2 httpd.conf files in different folders. Which one is the one I installed from the DIYMacServer directions and how do I get rid of the other one so it's not even more confusing?&#60;/p&#62;
&#60;p&#62;3. On my windows and linux machines, I have always set up a series of VirtualServers, one for each project I work on. I've given them names to reflect the project, like project.localhost.com. I make an entry to the hosts file so that requests for that URL are served from the project's default directory, like this:&#60;br /&#62;
project.localhost.com    localhost&#60;/p&#62;
&#60;p&#62;That's always worked. It doesn't now. When I go to project.localhost.com, expecting the project's home page...I get a failure to connect to the server.&#60;/p&#62;
&#60;p&#62;WTF?&#60;/p&#62;
&#60;p&#62;I'm not really an expert at any of this stuff, but have followed the directions. I'm sort of at a loss and would really appreciate hearing from someone who's been through it before and who could give me a hand getting comfortable doing this in the obviously superior and more pleasant OS X environment.&#60;/p&#62;
&#60;p&#62;I'm running Leopard, if that matters.&#60;/p&#62;
&#60;p&#62;Shoot me an email or chat request at jcorry at gmail [dot] com
&#60;/p&#62;</description>
</item>

</channel>
</rss>

