Comments on: Adding virtual hosts to your Apache installation on OS X http://switch.richard5.net How to build your Mac into a internet server using open source software Tue, 17 Jun 2008 18:25:42 +0000 hourly 1 http://wordpress.org/?v=3.2.1 By: another steve http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/adding-virtual-hosts-to-your-apache-installation-on-os-x/comment-page-1/#comment-61427 another steve Tue, 20 May 2008 11:19:41 +0000 http://switch.richard5.net/adding-virtual-hosts-to-your-apache-installation-on-os-x/#comment-61427 Hi Murray, no doubt you've sorted the problem now but just in case anyone else has a similar problem it's easily solved by editing the httpd.conf file and changing the following entry: Options FollowSymLinks AllowOverride None Order deny,allow Deny from all To: Options FollowSymLinks AllowOverride None Order deny,allow Allow from all ## Changed this from "Deny from all" ## Hi Murray, no doubt you’ve sorted the problem now but just in case anyone else has a similar problem it’s easily solved by editing the httpd.conf file and changing the following entry:

Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all

To:

Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all ## Changed this from “Deny from all” ##

]]>
By: Murray http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/adding-virtual-hosts-to-your-apache-installation-on-os-x/comment-page-1/#comment-54682 Murray Fri, 29 Feb 2008 05:47:26 +0000 http://switch.richard5.net/adding-virtual-hosts-to-your-apache-installation-on-os-x/#comment-54682 Hello, I've had multiple sites working off my mini (10.4.11) for years. I've just bought a new iMac (10.5.2) and I'm trying to get it configured so I can move the site off the mini. I seem to have everything configured as on the mini but I keep getting the 403 Forbidden error. The only differences I can see is that some paths have changed: mini: /private/etc/httpd/httpd.conf iMac: /private/etc/apache2/httpd.conf The httpd.conf on the iMac also uses an include file for the virtual hosts config but I have that commented out. I noticed this (http://docs.info.apple.com/article.html?artnum=306884) on Apple's support site but it seems to be for a different problem. At any rate the files described in the article are all there anyway. Is there some other user I need to add? Any suggestions? Thanks. Murray =:-) Hello,

I’ve had multiple sites working off my mini (10.4.11) for years. I’ve just bought a new iMac (10.5.2) and I’m trying to get it configured so I can move the site off the mini.

I seem to have everything configured as on the mini but I keep getting the 403 Forbidden error.

The only differences I can see is that some paths have changed:

mini: /private/etc/httpd/httpd.conf
iMac: /private/etc/apache2/httpd.conf

The httpd.conf on the iMac also uses an include file for the virtual hosts config but I have that commented out.

I noticed this (http://docs.info.apple.com/article.html?artnum=306884) on Apple’s support site but it seems to be for a different problem. At any rate the files described in the article are all there anyway. Is there some other user I need to add?

Any suggestions? Thanks.

Murray =:-)

]]>
By: snozle http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/adding-virtual-hosts-to-your-apache-installation-on-os-x/comment-page-1/#comment-4853 snozle Sat, 28 Oct 2006 22:23:03 +0000 http://switch.richard5.net/adding-virtual-hosts-to-your-apache-installation-on-os-x/#comment-4853 hello, I've followed these instructions, but I can't seem to get them right. When I point my browser to the URL snozle.com it goes to my hosting provider's site, but when I direct it to www.snozle.com it goes to my site. I have my DNS servers configured: @ A ipaddress * A ipaddress www. A ipaddress Also, my second entry, bondosco.com just doesn't work and directs me to snozle.com. Finally, I am no longer able to access my phpmyadmin folder by going to myserverip/phpmyadmin. When I do that it simply gives me a 404. The virtual host section of my httpd.conf file is below: NameVirtualHost *:80 DocumentRoot /Library/Apache2/htdocs/snozle ServerName snozle.com DocumentRoot /Library/Apache2/htdocs/mediawiki-1.5.1 ServerName bondosco.com hello, I’ve followed these instructions, but I can’t seem to get them right. When I point my browser to the URL snozle.com it goes to my hosting provider’s site, but when I direct it to http://www.snozle.com it goes to my site. I have my DNS servers configured:
@ A ipaddress
* A ipaddress
www. A ipaddress

Also, my second entry, bondosco.com just doesn’t work and directs me to snozle.com.

Finally, I am no longer able to access my phpmyadmin folder by going to
myserverip/phpmyadmin. When I do that it simply gives me a 404.

The virtual host section of my httpd.conf file is below:
NameVirtualHost *:80

DocumentRoot /Library/Apache2/htdocs/snozle
ServerName snozle.com

DocumentRoot /Library/Apache2/htdocs/mediawiki-1.5.1
ServerName bondosco.com

]]>