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

<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>
<item>
<title>Richard on "VirtualHosts work intern but not extern"</title>
<link>http://diymacserver.com/forum/topic/virtualhosts-work-intern-but-not-extern#post-378</link>
<pubDate>Mon, 07 May 2007 14:27:29 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">378@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;What you have forgotten is &#60;code&#62;NameVirtualHost your.external.ip.address:80&#60;/code&#62;, read the documentation on: &#60;a href=&#34;http://diymacserver.com/installing-apache/configuring-virtual-hosts-in-apache/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/installing-apache/configuring-virtual-hosts-in-apache/&#60;/a&#62; and follow all the steps.
&#60;/p&#62;</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-377</link>
<pubDate>Mon, 07 May 2007 13:13:33 +0000</pubDate>
<dc:creator>Jim</dc:creator>
<guid isPermaLink="false">377@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Here is my httpd.conf:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See &#38;lt;URL:http://httpd.apache.org/docs/2.2&#38;gt; for detailed information.
# In particular, see
# &#38;lt;URL:http://httpd.apache.org/docs/2.2/mod/directives.html&#38;gt;
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They&#38;#39;re here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server&#38;#39;s control files begin with \\\&#38;quot;/\\\&#38;quot; (or \\\&#38;quot;drive:/\\\&#38;quot; for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with \\\&#38;quot;/\\\&#38;quot;, the value of ServerRoot is prepended -- so \\\&#38;quot;/var/log/httpd/foo.log\\\&#38;quot;
# with ServerRoot set to \\\&#38;quot;/usr/local/apache2\\\&#38;quot; will be interpreted by the
# server as \\\&#38;quot;/usr/local/apache2//var/log/httpd/foo.log\\\&#38;quot;.

# VirtualHosts :
&#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;</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>

</channel>
</rss>

