<?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: Apache - Recent Topics</title>
<link>http://diymacserver.com/forum/</link>
<description>DIYMacServer &#187; Tag: Apache - Recent Topics</description>
<language>en</language>
<pubDate>Wed, 08 Feb 2012 06:38:58 +0000</pubDate>

<item>
<title>chrisbunch on "mod_hfs_apple in Apache 2"</title>
<link>http://diymacserver.com/forum/topic/mod_hfs_apple-in-apache-2#post-833</link>
<pubDate>Sat, 19 Jun 2010 15:52:10 +0000</pubDate>
<dc:creator>chrisbunch</dc:creator>
<guid isPermaLink="false">833@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I upgraded to Apache 2 a while ago (so I could use Subversion). Recently I have  set up some secure areas on one of my sites but have noticed that it can be circumvented by using a URL with the folder in question in a different case. For example, I can make &#60;code&#62;&#60;a href=&#34;http://mydomain.com/ABC/&#34; rel=&#34;nofollow&#34;&#62;http://mydomain.com/ABC/&#60;/a&#62;&#60;/code&#62; secure but &#60;code&#62;&#60;a href=&#34;http://mydomain.com/aBC/&#34; rel=&#34;nofollow&#34;&#62;http://mydomain.com/aBC/&#60;/a&#62;&#60;/code&#62; will circumvent the authentication!&#60;/p&#62;
&#60;p&#62;This didn't happen with Apache 1.3, I believe because it included mod_hfs_apple which 'compensates' for HFS+'s case insensitivity (&#60;a href=&#34;http://docs.info.apple.com/article.html?path=ServerAdmin/10.4/en/c3ws31.html)&#34; rel=&#34;nofollow&#34;&#62;http://docs.info.apple.com/article.html?path=ServerAdmin/10.4/en/c3ws31.html)&#60;/a&#62;. mod_hfs_apple is not included in my instance of Apache 2 (2.2.4) . Does anyone know if Apple ever upgraded it for Apache 2, and if so, from where I can get it?
&#60;/p&#62;</description>
</item>
<item>
<title>kvjeevan on "compiling apache in 64-bit mode for AIX 5.3 64-bit machine"</title>
<link>http://diymacserver.com/forum/topic/compiling-apache-in-64-bit-mode-for-aix-53-64-bit-machine#post-784</link>
<pubDate>Thu, 25 Feb 2010 14:46:35 +0000</pubDate>
<dc:creator>kvjeevan</dc:creator>
<guid isPermaLink="false">784@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I have downloaded apache 2.2.14 and i need help to compile the apache in 64-bit mode for AIX 5.3 64-bit machine..&#60;/p&#62;
&#60;p&#62;I have tried setting CFLAGS=--ppc64 and  &#34;--enable-lib64&#34;, but still the ./httpd -V command is showing architecture as &#34;32-bit&#34;.&#60;/p&#62;
&#60;p&#62;Please suggest
&#60;/p&#62;</description>
</item>
<item>
<title>louiscox on "Matching user account name and domain name"</title>
<link>http://diymacserver.com/forum/topic/matching-user-account-name-and-domain-name#post-737</link>
<pubDate>Fri, 20 Nov 2009 10:26:08 +0000</pubDate>
<dc:creator>louiscox</dc:creator>
<guid isPermaLink="false">737@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi, oppologies if this is in the wrong section. Please let me know, and I will move it.&#60;/p&#62;
&#60;p&#62;I have a very irritating problem.&#60;/p&#62;
&#60;p&#62;I created my account username om my Mac ( OSX 10.6.2 ) long before I created my website. If we take it that my user account name happens to be 'myname' and my website happens to be &#60;a href=&#34;http://www.myname.com&#34; rel=&#34;nofollow&#34;&#62;http://www.myname.com&#60;/a&#62;. I hadn't noticed it was a problem until the other day. I changed the site base ref to work from &#60;a href=&#34;http://myname.com&#34; rel=&#34;nofollow&#34;&#62;http://myname.com&#60;/a&#62; away from &#60;a href=&#34;http://www.myname.com&#34; rel=&#34;nofollow&#34;&#62;http://www.myname.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The problem is on my Mac, the address &#60;a href=&#34;http://myname.com&#34; rel=&#34;nofollow&#34;&#62;http://myname.com&#60;/a&#62; is referring to the local web server, ie pre installed Apache and library/webserver/documents not the actual web address. If Web server is switched off via the sharing control panels - the address returns a google not found page? which seems very odd. It will also do this from any user account - identical results, so I know the Mac has reserved the name in some way.&#60;/p&#62;
&#60;p&#62;I dont want to rename my user account. I cant see my own website on my Mac which is very frustrating, as my website root is forcing all traffic to &#60;a href=&#34;http://myname.com&#34; rel=&#34;nofollow&#34;&#62;http://myname.com&#60;/a&#62; ( which is what I want of course ) and not &#60;a href=&#34;http://www.myname.com&#34; rel=&#34;nofollow&#34;&#62;http://www.myname.com&#60;/a&#62;. I have to use Parallels with a version of Windows to see the site properly.&#60;/p&#62;
&#60;p&#62;Naturally I continue to search all the archives I can but to no avail - maybe Im looking in the wrong areas.&#60;/p&#62;
&#60;p&#62;If anyone has any idea I'd be very grateful.
&#60;/p&#62;</description>
</item>
<item>
<title>zerustech on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-716</link>
<pubDate>Sun, 27 Sep 2009 06:40:01 +0000</pubDate>
<dc:creator>zerustech</dc:creator>
<guid isPermaLink="false">716@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;I was trying to compile Apache+MySQL+PHP on Snow Leopard according to the instructions on this website, but unfortunately none of them worked. &#60;/p&#62;
&#60;p&#62;I tried different solutions and finally succeeded. So I'm just posting the instructions here and hopefully it will be helpful to you.&#60;/p&#62;
&#60;p&#62;1. First of all, you should download apache 2.2.13 (the apxs in its previous releases does not work)&#60;/p&#62;
&#60;p&#62;2. Install xcode from Snow Leopard installation DVD (I guess you have already installed)&#60;/p&#62;
&#60;p&#62;3. Install MacPorts and the following port libs:&#60;br /&#62;
- zlib&#60;br /&#62;
- curl&#60;br /&#62;
- xsl&#60;br /&#62;
- gd&#60;br /&#62;
- openjpeg&#60;br /&#62;
- libpng&#60;br /&#62;
- freetype&#60;br /&#62;
- xpm&#60;br /&#62;
- exif&#60;br /&#62;
- libiconv&#60;/p&#62;
&#60;p&#62;4. Compile MySQL (5.1.39) as follows:&#60;/p&#62;
&#60;p&#62;#!/bin/sh&#60;br /&#62;
MYSQLVERSION=&#34;5.1.39&#34;&#60;br /&#62;
MYSQLDIR=&#34;/opt/mysql/$MYSQLVERSION&#34;&#60;br /&#62;
make distclean&#60;br /&#62;
./configure \&#60;br /&#62;
--prefix=$MYSQLDIR \&#60;br /&#62;
--with-server-suffix=--standard \&#60;br /&#62;
--enable-thread-safe-client \&#60;br /&#62;
--enable-local-infile \&#60;br /&#62;
--enable-shared \&#60;br /&#62;
--with-zlib-dir=bundled \&#60;br /&#62;
--with-big-tables \&#60;br /&#62;
--with-readline \&#60;br /&#62;
--with-plugins=all \&#60;br /&#62;
--with-mysqld-user=mysql \&#60;br /&#62;
--with-extra-charsets=all \&#60;br /&#62;
--with-unix-socket-path=$MYSQLDIR/var/mysql.sock \&#60;br /&#62;
--without-docs&#60;br /&#62;
make&#60;br /&#62;
make install&#60;/p&#62;
&#60;p&#62;5. Compile Apache (2.2.13) as follows:&#60;br /&#62;
#!/bin/sh&#60;br /&#62;
APACHEVERSION=&#34;2.2.13&#34;&#60;br /&#62;
APACHEDIR=&#34;/opt/apache/$APACHEVERSION&#34;&#60;br /&#62;
make distclean&#60;br /&#62;
./configure -prefix=$APACHEDIR \&#60;br /&#62;
 -enable-mods-shared=all \&#60;br /&#62;
 -with-ssl \&#60;br /&#62;
 -with-mpm=prefork \&#60;br /&#62;
 -disable-unique-id \&#60;br /&#62;
 -enable-ssl \&#60;br /&#62;
 -enable-dav \&#60;br /&#62;
 -enable-cache \&#60;br /&#62;
 -enable-proxy \&#60;br /&#62;
 -enable-logio \&#60;br /&#62;
 -enable-deflate \&#60;br /&#62;
 -with-included-apr \&#60;br /&#62;
 -enable-cgi \&#60;br /&#62;
 -enable-cgid \&#60;br /&#62;
 -enable-suexec&#60;/p&#62;
&#60;p&#62;6. Compile PHP (4.4.9 or 5.3.0) as follows:&#60;br /&#62;
#!/bin/sh&#60;br /&#62;
PHPVERSION=4.4.9&#60;br /&#62;
MYSQLVERSION=5.1.39&#60;br /&#62;
APACHEVERSION=2.2.13&#60;br /&#62;
BUILDTAG=$PHPVERSION.mysql.$MYSQLVERSION&#60;br /&#62;
PHPDIR=/opt/php/$BUILDTAG&#60;br /&#62;
MYSQLDIR=/opt/mysql/$MYSQLVERSION&#60;br /&#62;
make distclean&#60;br /&#62;
./configure \&#60;br /&#62;
--prefix=$PHPDIR \&#60;br /&#62;
--with-apxs2=/opt/apache/$APACHEVERSION/bin/apxs \&#60;br /&#62;
--with-config-file-path=$PHPDIR/etc \&#60;br /&#62;
--with-mysql=$MYSQLDIR \&#60;br /&#62;
--with-mysqli=$MYSQLDIR/bin/mysql_config \&#60;br /&#62;
--with-pdo-mysql=$MYSQLDIR \&#60;br /&#62;
--with-zlib=/opt/local \&#60;br /&#62;
--with-curl=/opt/local \&#60;br /&#62;
--with-mcrypt=/opt/local \&#60;br /&#62;
--with-xsl=/opt/local \&#60;br /&#62;
--with-gd=/opt/local \&#60;br /&#62;
--with-jpeg-dir=/opt/local \&#60;br /&#62;
--with-png-dir=/opt/local \&#60;br /&#62;
--with-zlib-dir=/opt/local \&#60;br /&#62;
--with-xpm-dir=/opt/local \&#60;br /&#62;
--with-freetype-dir=/opt/local \&#60;br /&#62;
--with-iconv=/opt/local \&#60;br /&#62;
--enable-mbstring \&#60;br /&#62;
--enable-exif \&#60;br /&#62;
--enable-cli \&#60;br /&#62;
--enable-pcntl \&#60;br /&#62;
--enable-sockets \&#60;br /&#62;
--enable-ftp \&#60;br /&#62;
--enable-soap&#60;br /&#62;
export EXTRA_CFLAGS=&#34;-lresolv&#34;&#60;br /&#62;
make&#60;br /&#62;
make install
&#60;/p&#62;</description>
</item>
<item>
<title>illitrate on "config.layout for srclib/apr ?"</title>
<link>http://diymacserver.com/forum/topic/configlayout-for-srclibapr#post-680</link>
<pubDate>Sun, 12 Jul 2009 16:25:52 +0000</pubDate>
<dc:creator>illitrate</dc:creator>
<guid isPermaLink="false">680@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;in order to run the ./configure command to install Apache, i had to also add the DIYMacServer layout to two other config.layout files:&#60;br /&#62;
   \httpd-2.2.11\srclib\apr\config.layout&#60;br /&#62;
and&#60;br /&#62;
   \httpd-2.2.11\srclib\apr-util\config.layout&#60;/p&#62;
&#60;p&#62;is that correct? it doesn't mention these two on the &#34;Compiling Apache on Leopard&#34; page, but without changing these two also i was getting errors like the one shown below:&#60;/p&#62;
&#60;p&#62;$ ./configure -enable-layout=DIYMacServer -enable-mods-shared=all -with-ssl=/usr -with-mpm=prefork -disable-unique-id -enable-ssl -enable-dav -enable-cache -enable-logio -enable-deflate -with-included-apr -enable-cgi -enable-cgid -enable-suexec&#60;br /&#62;
checking for chosen layout... DIYMacServer&#60;br /&#62;
checking for working mkdir -p... yes&#60;br /&#62;
checking build system type... i386-apple-darwin9.7.0&#60;br /&#62;
checking host system type... i386-apple-darwin9.7.0&#60;br /&#62;
checking target system type... i386-apple-darwin9.7.0&#60;/p&#62;
&#60;p&#62;Configuring Apache Portable Runtime library ...&#60;/p&#62;
&#60;p&#62;configuring package in srclib/apr now&#60;br /&#62;
checking build system type... i386-apple-darwin9.7.0&#60;br /&#62;
checking host system type... i386-apple-darwin9.7.0&#60;br /&#62;
checking target system type... i386-apple-darwin9.7.0&#60;br /&#62;
Configuring APR library&#60;br /&#62;
Platform: i386-apple-darwin9.7.0&#60;br /&#62;
checking for working mkdir -p... yes&#60;br /&#62;
APR Version: 1.3.3&#60;br /&#62;
** Error: unable to find layout DIYMacServer&#60;br /&#62;
configure failed for srclib/apr
&#60;/p&#62;</description>
</item>
<item>
<title>yudixue on "Error on Apache make"</title>
<link>http://diymacserver.com/forum/topic/error-on-apache-make#post-448</link>
<pubDate>Tue, 18 Mar 2008 06:14:15 +0000</pubDate>
<dc:creator>yudixue</dc:creator>
<guid isPermaLink="false">448@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi there, &#60;/p&#62;
&#60;p&#62;I have followed this post &#60;a href=&#34;http://diymacserver.com/2007/11/17/compiling-apache-on-leopard/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/2007/11/17/compiling-apache-on-leopard/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, I got error from executing make:&#60;/p&#62;
&#60;p&#62;Undefined symbols:&#60;br /&#62;
  &#34;_BIO_set_callback_arg&#34;, referenced from:&#60;br /&#62;
      _start_connect in ab.o&#60;br /&#62;
  &#34;_BIO_get_callback_arg&#34;, referenced from:&#60;br /&#62;
      _ssl_print_cb in ab.o&#60;br /&#62;
  &#34;_SSL_CTX_set_info_callback&#34;, referenced from:&#60;br /&#62;
      _main in ab.o&#60;br /&#62;
  &#34;_BIO_set_callback&#34;, referenced from:&#60;br /&#62;
      _start_connect in ab.o&#60;/p&#62;
&#60;p&#62;I have been poking around net and a couple of guys have same problem I had, but no solution has been posted.&#60;/p&#62;
&#60;p&#62;Can anyone help? thanks a lot!&#60;/p&#62;
&#60;p&#62;Yudi
&#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>papa lozarou on "Optimising a server"</title>
<link>http://diymacserver.com/forum/topic/optimising-a-server#post-560</link>
<pubDate>Mon, 22 Sep 2008 14:18:08 +0000</pubDate>
<dc:creator>papa lozarou</dc:creator>
<guid isPermaLink="false">560@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I'm running a mac mini, which Richard kindly helped me get a mail server on. The only think other than that I run is a web forum for football supporters. I'm having real problems with the mysql/apache load.&#60;/p&#62;
&#60;p&#62;Basically the server slows to a crawl on lunchtimes. I've got about 1.5k users, which can balloon up to 2.5k if something big hits the news. Average hits per day is somewhere between 50k and 90k (again if there's some big story). &#60;/p&#62;
&#60;p&#62;Does anyone have any ideas? When I look at top I'm seeing MySQL sometimes at 150% plus of CPU processes, and the CPU itself maxed out between User and System with no idle. Also the average CPU load seems to be 2.5 plus. All these things aren't supposed to be I'm pretty sure, but I am unsure if it's a software issue or a hardware one. The forum software I run is phpbb3.&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>BigMadKev on "64 Bit Apache?"</title>
<link>http://diymacserver.com/forum/topic/64-bit-apache#post-542</link>
<pubDate>Mon, 25 Aug 2008 10:37:06 +0000</pubDate>
<dc:creator>BigMadKev</dc:creator>
<guid isPermaLink="false">542@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;When you install Apache on Leopard as per your instructions is this in 64 Bit Mode? If no how do I ensure that I have Apache 2.2.9 Installed in 64 Bit Mode?&#60;/p&#62;
&#60;p&#62;Many THanks
&#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>mastertk on "Permission denied: make_sock: could not bind to address"</title>
<link>http://diymacserver.com/forum/topic/permission-denied-make_sock-could-not-bind-to-address#post-521</link>
<pubDate>Sun, 10 Aug 2008 09:18:12 +0000</pubDate>
<dc:creator>mastertk</dc:creator>
<guid isPermaLink="false">521@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hello,&#60;br /&#62;
I have got a problem when i try to run apache on my normal account.&#60;br /&#62;
I have installed apache within my root account and in the root account everything works fine.&#60;br /&#62;
but when I switch to my normal account and I type in terminal ''apachectl -k start'' I get &#60;/p&#62;
&#60;p&#62;:~ Server$ apachectl -k start&#60;br /&#62;
(13)Permission denied: make_sock: could not bind to address [::]:80&#60;br /&#62;
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80&#60;br /&#62;
no listening sockets available, shutting down&#60;br /&#62;
Unable to open logs&#60;/p&#62;
&#60;p&#62;Maybe someone knows how to solve this problem.&#60;/p&#62;
&#60;p&#62;Kind Regards, Thomas
&#60;/p&#62;</description>
</item>
<item>
<title>wkanoff on "Unrecognized options:"</title>
<link>http://diymacserver.com/forum/topic/unrecognized-options#post-501</link>
<pubDate>Fri, 20 Jun 2008 06:15:30 +0000</pubDate>
<dc:creator>wkanoff</dc:creator>
<guid isPermaLink="false">501@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I tried to compile Apache 2.2.9 on a Quicksilver 800 with OS X 10.4.11 and I received the following:&#60;br /&#62;
williams-place:~/Desktop/httpd-2.2.9 wKanoff$ CFLAGS=&#34;-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wno-pointer-sign&#34; \&#60;br /&#62;
&#38;gt; ./configure \&#60;br /&#62;
&#38;gt; --enable-layout=William \&#60;br /&#62;
&#38;gt; --enable-mods-shared=all \&#60;br /&#62;
&#38;gt; --with-ssl=/usr \&#60;br /&#62;
&#38;gt; --with-mpm=prefork \&#60;br /&#62;
&#38;gt; --enable-ssl \&#60;br /&#62;
&#38;gt; --enable-dav \&#60;br /&#62;
&#38;gt; --enable-cache \&#60;br /&#62;
&#38;gt; --enable-proxy \&#60;br /&#62;
&#38;gt; --enable-shared \&#60;br /&#62;
&#38;gt; --disable-static \&#60;br /&#62;
&#38;gt; --disable-unique-id \&#60;br /&#62;
&#38;gt; --disable-ipv6 \&#60;br /&#62;
&#38;gt; --enable-logio \&#60;br /&#62;
&#38;gt; --enable-deflate \&#60;br /&#62;
&#38;gt; --with-ldap \&#60;br /&#62;
&#38;gt; --with-ldap-include=/usr/include \&#60;br /&#62;
&#38;gt; --with-ldap-lib=/usr/lib \&#60;br /&#62;
&#38;gt; --with-included-apr \&#60;br /&#62;
&#38;gt; --enable-ldap \&#60;br /&#62;
&#38;gt; --enable-auth-ldap \&#60;br /&#62;
&#38;gt; --enable-cgi \&#60;br /&#62;
&#38;gt; --enable-cgid \&#60;br /&#62;
&#38;gt; --enable-suexec&#60;br /&#62;
configure: WARNING: Unrecognized options: --enable-shared, --disable-static, --disable-ipv6, --with-ldap, --with-ldap-include, --with-ldap-lib, --enable-auth-ldap
&#60;/p&#62;</description>
</item>
<item>
<title>Whisller on "Install newest PHP ( 5.2.6 ) on Leopard - with &#34;Leopard&#34; Apache installation."</title>
<link>http://diymacserver.com/forum/topic/install-newest-php-526-on-leopard-with-leopard-apache-installation#post-493</link>
<pubDate>Sun, 15 Jun 2008 17:36:27 +0000</pubDate>
<dc:creator>Whisller</dc:creator>
<guid isPermaLink="false">493@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I have a fresh version of Leopard - just reinstalled. And I'm tried to install PHP ( I must recompile it because I must add support for PostgreSQL ).&#60;br /&#62;
So I tried install it on apache which is installed default by Leopard ( configuration is good etc. so why don't use it :) ), but it was first mistake ;p&#60;br /&#62;
After sudo make install and trying to restart apache it return an critical error.&#60;/p&#62;
&#60;p&#62;httpd: Syntax error on line 114 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture&#60;/p&#62;
&#60;p&#62;Huh and what now, I say to myself. But google show me the small information. And I found that Apache from Leopard is on 64-bit architecture.&#60;br /&#62;
I checked it by httpd -V, and it is true&#60;/p&#62;
&#60;p&#62;Server version: Apache/2.2.6 (Unix)&#60;br /&#62;
Architecture:   64-bit&#60;/p&#62;
&#60;p&#62;So I tried to use CFLAGS='-arch x86_64' before ./configure, but after It I cannot do make because it crash all the time :/&#60;br /&#62;
I try to remove all PHP files.&#60;/p&#62;
&#60;p&#62;Maybe you also saw this error?&#60;br /&#62;
I will be glad if someone will help me.
&#60;/p&#62;</description>
</item>
<item>
<title>crackmigg on "Apache not starting with compiled PHP"</title>
<link>http://diymacserver.com/forum/topic/apache-not-starting-with-compiled-php#post-477</link>
<pubDate>Tue, 20 May 2008 17:44:21 +0000</pubDate>
<dc:creator>crackmigg</dc:creator>
<guid isPermaLink="false">477@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I followed the instructions to compile PHP 5.2.6 under leopard, while keeping the installed Apache 2.2.8 from Leopard intact. I compiled PHP5 with the last line changed to /usr/sbin/apxs (original Leopard layout), and everything worked without errors.&#60;/p&#62;
&#60;p&#62;When I start Apache it starts without error message, but when opening 127.0.0.1 in my browser it &#34;Failed to connect&#34;... the Apache Server is not responding. The when I deactivate the php5_module line in the httpd.conf, everything (except PHP5) works, and the server responds as expected, but with the module it stops working. The line in the httpd.conf is:&#60;/p&#62;
&#60;p&#62;LoadModule php5_module libexec/apache2/libphp5.so&#60;/p&#62;
&#60;p&#62;When trying command-line php it says it is version 5.2.5 (the preinstalled version), not 5.2.6. So where did my compiled PHP go? How do I get it to work with Apache? Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>bradrice on "403 errors"</title>
<link>http://diymacserver.com/forum/topic/403-errors#post-407</link>
<pubDate>Fri, 12 Oct 2007 14:51:18 +0000</pubDate>
<dc:creator>bradrice</dc:creator>
<guid isPermaLink="false">407@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I decided to upgrade my Apache. I followed the steps, but now I am getting Forbidden 403 errors on my webserver.  I am just using localhost, as it is only my internal testing server. Any ideas why? I looked at my old config file and I can't see anything different that would suddenly cause that.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Error on Apache Configure"</title>
<link>http://diymacserver.com/forum/topic/error-on-apache-configure#post-123</link>
<pubDate>Tue, 03 Oct 2006 23:14:31 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">123@http://diymacserver.com/forum/</guid>
<description>Can you email me the config.log file ? That might explain which commands are failing...</description>
</item>
<item>
<title>Jim on "VirtualHosts work intern but not extern"</title>
<link>http://diymacserver.com/forum/topic/virtualhosts-work-intern-but-not-extern#post-376</link>
<pubDate>Mon, 07 May 2007 13:05:54 +0000</pubDate>
<dc:creator>Jim</dc:creator>
<guid isPermaLink="false">376@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I'm configuring my virtualhosts but it won't work. I have this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;VirtualHost domein.nl&#38;gt;
	ServerAdmin &#60;a href=&#34;mailto:webmaster@domein.nl&#34;&#62;webmaster@domein.nl&#60;/a&#62;
	DocumentRoot /Volumes/Jim/www/vhosts/domein/htdocs
	ServerName domein.nl
&#38;lt;/VirtualHost&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It works on my computer but it doesn't work from outside this computer.&#60;/p&#62;
&#60;p&#62;Anyone has suggesntions?
&#60;/p&#62;</description>
</item>
<item>
<title>Jim on "Apache start error"</title>
<link>http://diymacserver.com/forum/topic/apache-start-error#post-343</link>
<pubDate>Sun, 25 Mar 2007 15:18:10 +0000</pubDate>
<dc:creator>Jim</dc:creator>
<guid isPermaLink="false">343@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I have installed MySQL en Apache but with sudo /usr/local/apache2/bin/apachectl start I get this error message:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;httpd: Could not reliably the server's fully qualified name, ising imac-van-jim.local for ServerName&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;When I put in the apachectl configtest command I get this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Syntax error on line 45 of /ect/httpd/httpd/conf:&#60;br /&#62;
API module structure 'authn_file_module' in file /usr/local/apache2/modules/mod_authn_file.so is garbled - perhaps this is not an Apache module DSO?&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Anyone has an idea what's wrong?
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "htdocs permissions"</title>
<link>http://diymacserver.com/forum/topic/htdocs-permissions#post-275</link>
<pubDate>Fri, 26 Jan 2007 23:27:04 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">275@http://diymacserver.com/forum/</guid>
<description>It depends on the applications you are running with Apache. Some applications build in PHP need write access to certain directories to upload files. What I do is change ownership to www:www using:&#60;br /&#62;
&#60;p&#62;&#60;code&#62;sudo chown www&#38;#58;www /Library/Apache2/htdocs&#60;/code&#62;&#60;/p&#62;&#60;br /&#62;
and leave that as default and adjust the rest as needed for security and workability.</description>
</item>
<item>
<title>snozle on "Apache2 won&#039;t start (Startup or command)"</title>
<link>http://diymacserver.com/forum/topic/apache2-wont-start-startup-or-command#post-304</link>
<pubDate>Sat, 17 Feb 2007 16:20:07 +0000</pubDate>
<dc:creator>snozle</dc:creator>
<guid isPermaLink="false">304@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Here's an odd problem&#60;/p&#62;
&#60;p&#62;when I attempt to start apache 2 with the command:&#60;br /&#62;
&#60;code&#62;sudo /Library/StartupItems/Apache2/Apache2 start&#60;/code&#62;&#60;br /&#62;
it outputs the error:&#60;br /&#62;
&#60;code&#62;Please disable Personal Web Sharing and restart&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The thing is, when I open system preferences, personal web sharing is disabled. I tried manually stopping the built-in apache server with:&#60;br /&#62;
&#60;code&#62;apachectl stop&#60;/code&#62;&#60;br /&#62;
but I got the following error:&#60;br /&#62;
&#60;code&#62;/usr/sbin/apachectl stop: httpd (no pid file) not running&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I was wondering, because I now have apache2 running from /Library/WebServer/Documents could it be conflicting with the built-in apache install?
&#60;/p&#62;</description>
</item>
<item>
<title>xeal on "Problems building Apache 2.2 on Mac OS X 10.4 Server"</title>
<link>http://diymacserver.com/forum/topic/problems-building-apache-22-on-mac-os-x-104-server#post-288</link>
<pubDate>Wed, 14 Feb 2007 07:12:47 +0000</pubDate>
<dc:creator>xeal</dc:creator>
<guid isPermaLink="false">288@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I'm trying building Apache 2.2.4 on our intranet server running Mac OS X Server 10.4.8 (w/ Xcode 2.4.1 properly installed - I built other packages and they run without problems).&#60;br /&#62;
The &#34;configure &#38;#38;&#38;amp; make &#38;#38;&#38;amp; sudo make install&#34; sequence seems to work without errors, however when I'm trying to start the server with:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;sudo /usr/local/apache2/bin/apachectl start&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I'm getting the error message:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;dyld: Symbol not found: _XmlParseXmlDeclNS&#60;br /&#62;
  Referenced from: /usr/local/apache2/lib/libexpat.0.dylib&#60;br /&#62;
  Expected in: flat namespace&#60;br /&#62;
/usr/local/apache2/bin/apachectl: line 102: 22494 Trace/BPT trap          $HTTPD -k $ARGV&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;My configure parameters list:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;CFLAGS=&#38;quot;-arch ppc -O2&#38;quot; &#60;br /&#62;
./configure &#60;br /&#62;
--prefix=/usr/local/apache2 &#60;br /&#62;
--enable-layout=Apache &#60;br /&#62;
--enable-cache &#60;br /&#62;
--enable-disk_cache &#60;br /&#62;
--enable-file_cache &#60;br /&#62;
--enable-mem_cache &#60;br /&#62;
--enable-proxy &#60;br /&#62;
--enable-ssl &#60;br /&#62;
--with-ssl=/usr &#60;br /&#62;
--enable-deflate &#60;br /&#62;
--enable-rewrite &#60;br /&#62;
--enable-headers &#60;br /&#62;
--enable-mods-shared=all &#60;br /&#62;
--enable-so &#60;br /&#62;
--with-included-apr&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I tried both with and without the &#34;--enable-so&#34; flag (as recommended &#60;a href=&#34;http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/#comment-14434&#34;&#62;here&#60;/a&#62;) but, no matter what, I'm still getting this error.&#60;br /&#62;
I am very aware that the solution kindly provided by Richard is for the client version OS X 10.4, but I couldn't find anything on the net for the OS X Server so, maybe, different settings are needed.&#60;/p&#62;
&#60;p&#62;TIA,&#60;br /&#62;
.x.
&#60;/p&#62;</description>
</item>
<item>
<title>node on "Apache won&#039;t run at startup"</title>
<link>http://diymacserver.com/forum/topic/apache-wont-run-at-startup#post-266</link>
<pubDate>Sat, 13 Jan 2007 23:29:17 +0000</pubDate>
<dc:creator>node</dc:creator>
<guid isPermaLink="false">266@http://diymacserver.com/forum/</guid>
<description>Bingo! Thanks a lot, now I can get on with the rest of the process. :)</description>
</item>
<item>
<title>dgrenier on "Apache and port 8080"</title>
<link>http://diymacserver.com/forum/topic/apache-and-port-8080#post-108</link>
<pubDate>Tue, 26 Sep 2006 19:04:42 +0000</pubDate>
<dc:creator>dgrenier</dc:creator>
<guid isPermaLink="false">108@http://diymacserver.com/forum/</guid>
<description>OK, I got everything to work. I contacted ZoneEdit, which told me I had to setup another subdomain for the redirect to work.&#60;br /&#62;
&#60;br /&#62;
So, I was redirecting this way:&#60;br /&#62;
&#60;br /&#62;
&#60;a href=&#34;http://www.mydomain.tld&#34; rel=&#34;nofollow&#34;&#62;http://www.mydomain.tld&#60;/a&#62; ---&#38;gt; &#60;a href=&#34;http://www.mydomain.tld:8080&#34; rel=&#34;nofollow&#34;&#62;http://www.mydomain.tld:8080&#60;/a&#62;&#60;br /&#62;
&#60;br /&#62;
while I should have done:&#60;br /&#62;
&#60;br /&#62;
&#60;a href=&#34;http://www.mydomain.tld&#34; rel=&#34;nofollow&#34;&#62;http://www.mydomain.tld&#60;/a&#62; ---&#38;gt; &#60;strong&#62;ww2&#60;/strong&#62;.mydomain.tld:8080&#60;br /&#62;
&#60;br /&#62;
so it does not end up in a redirect loop (the subdomain is not important, but it must be different from the original one).&#60;br /&#62;
&#60;br /&#62;
Thanks anyway!</description>
</item>
<item>
<title>Richard on "Where should the Apache logfiles reside ?"</title>
<link>http://diymacserver.com/forum/topic/where-should-the-apache-logfiles-reside#post-50</link>
<pubDate>Mon, 21 Aug 2006 20:43:27 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">50@http://diymacserver.com/forum/</guid>
<description>As talked about in &#60;a href=&#34;http://switch.richard5.net/2006/08/21/rotating-your-apache-logfiles/&#34;&#62;the blogpost&#60;/a&#62; about my discoveries and the rotating logfiles script. Please let me know your thoughts on this. I would think you need to put the logfiles in /var/log as any unix sysadmin will tell you.</description>
</item>
<item>
<title>maarten. on "Apache2 for Subversion"</title>
<link>http://diymacserver.com/forum/topic/apache2-for-subversion#post-36</link>
<pubDate>Sat, 08 Jul 2006 13:21:06 +0000</pubDate>
<dc:creator>maarten.</dc:creator>
<guid isPermaLink="false">36@http://diymacserver.com/forum/</guid>
<description>Many thanks for the answers, I've been caught up at work lately so I didn't have the time to look in it, I'll try this weekend.&#60;br /&#62;
&#60;br /&#62;
-Maarten</description>
</item>

</channel>
</rss>

