1
vote
1answer
68 views

Creating multiple Virtual Hosts in Apache the right way (macosx)

I got a strange problem trying to define multiple virtual hosts in Apache. This is my code for httpd.conf file: <VirtualHost *:8888> ServerName site1.local DocumentRoot ...
1
vote
0answers
26 views

Configure Bonjour for a custom vhost on Apache on OS X 10.9

How to broadcast all my vhost ? This has been answered for Snow Leopard, sadly the configurations files pointed in this thread are not there anymore in Maverick.
3
votes
1answer
220 views

Apache not finding folder on File System; Appending “\xe2\x80\x9d” to end of File Paths

I have three Virtual Hosts running in apache2 on my personal Macintosh running OS X Mavericks and I have ran into a knot of confusion. They are configured in my httpd-vhosts.conf file as follows: ...
0
votes
1answer
90 views

Mac OSX 10.8.4 - Apache - Setting up Virtual hosts

I can't seem to get my virtual hosts working: I have an /etc/apache2/users/scottr.conf set up as: <Directory "/Users/scottr/Sites/"> Options Indexes MultiViews FollowSymLinks ...
0
votes
1answer
62 views

OS X Server ignores virtual hosts

I have a OS X Server 10.8 [with the Server App]. I have enabled the websites service and I've added the path to /Volumes/dev1/http as the root for my Server Website. I've edited the file in ...
0
votes
1answer
218 views

Local Server - Apache redirecting all requests to /index.php [closed]

I'm having a weird redirect problem on my local server. I have a VirtualHost set up: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/Users/iMac/Sites/index.php" ServerName ...
-1
votes
2answers
400 views

Apache Suddenly won't start

So I've been working with several Virtual Hosts on OS X 10.8.2. I'm using the Apache2 installation and MySQL to run name-based virtual hosts. They have all been working perfectly fine until last ...
0
votes
1answer
71 views

apache2 osx virtual host serving same directory

In httpd.conf Listen 127.0.0.1:80 ServerName testsite.com:80 DocumentRoot /usr/share/web <Directory /usr/share/web> // usual stuff from documentation </Directory> Include httpd-vhost ...
0
votes
1answer
330 views

OSX Apache2 Virtual Hosts Proxy Issue

I'm using the following httpd-vhosts.conf file to host several sites on my MacBook. Apache Configuration The first two virtual sites (v3.local,ss.local) are giving back the following error messages ...
1
vote
2answers
2k views

vhost file not bring recognised by apache

Hi sorry total noob to Apache and Macs here... feel the answer is really obvious but I've been looking for ages without success I have the following lines in ...
1
vote
1answer
259 views

Apache virtualhost - Mac OSX 10.7.3

After upgrading to Lion, all my virtualhosts stopped working. They redirect to "It works" main apache page on my device for some weird reason. Example: /etc/hosts: 127.0.0.1 myhost.com ...
1
vote
1answer
336 views

VirtualHost on Lion navigates to wrong document root

I'm struggling with getting Virtual Hosts running on my local Lion development machine. Here's the scenario. I have Site-A.dev and Site-B.dev sitting in my User/computername/Sites folder, like this: ...
16
votes
6answers
7k views

Resolving to virtual host very slow on Mac OS X Lion

Since upgrading to Mac OS X Lion (from Snow Leopard), I have noticed that resolving to a virtual host is very slow (between about 3 seconds). I have found a number of tips (e.g., not using the .local ...
0
votes
1answer
887 views

VirtualHost takes over Directory, with no hostname in request

I have the following in apache.conf on my development workstation (actually included from /etc/apache2/users/andrew.conf): <Directory "/Users/andrew/Sites/"> Options Indexes MultiViews ...
0
votes
1answer
135 views

VirtualHost not working?

The problem: On my local machine only, I want to enter the URL homepage.local and I want it to open my local webpage index.html found in my local directory /Users/prime/Homepage/. I thought I could ...
0
votes
1answer
59 views

Does using apache VirtualHost disable access to non-VirtualHost directories?

Very similar to this question, I just wanted to clarify one thing. If I begin with a vanilla Mac OS X Apache install (using their default httpd.conf file), and then add a named VirtualHost to my ...
0
votes
1answer
152 views

Mac's Apache virtual hosts playing up

I'm hitting the most frustrating problem with the devlopment environment on my Mac at work (OS X 10.6.6, Apache 2.2.15, PHP 5.3.3 - all default installs with very little modification). Last night I ...
0
votes
2answers
339 views

Virtual Hosts for external addresses on OSX 10.6

I'm hosting my website on my own server running OSX 10.6.6. I have the main site up all fine with www2.chrislrobinson.co.uk pointing to my IP address (and hence the /Library/WebServer/Documents/ ...
2
votes
3answers
2k views

How can I get Apache to not respond to an IP-only request?

I have several web sites, all set up in http-vhosts.conf with their respective ServerName and DocumentRoot, they are working fine and dandy. But when I visit the server's IP address URL, I get back ...
12
votes
4answers
10k views

How can I tell which config file Apache is using?

I'm trying to set up virtual hosts on Mac OS X. I've been modifying httpd.conf and restarting the server, but haven't had any luck in getting it to work. Furthermore, I notice that it's not serving ...
3
votes
3answers
1k views

Configure Bonjour for a custom vhost on Apache on OS X

Bonjour is a lovely technology. I would like all my custom vhosts on my mac (Snow Leopard) to broadcast via bonjour. What is the best way to do this, without having to enable for every vhost ...
1
vote
2answers
700 views

VirtualHost Forbidden

Hey guys, I'm running Mac OS X 10.6 Snow Leopard with the default Apache 2 installation that it comes with and PHP 5 enabled. Anyways, I have configured a VirtualHost whose DocumentRoot is under ...
0
votes
3answers
445 views

Apache 2.2 localhost VirtualHosts problems

I am trying to setup my dev machine with virtual hosts so I can access my development projects with a simple url, like http:// project.dev/ rather that a whole http:// ...
1
vote
1answer
1k views

Using NetInfo versus niload

I'm running an Apache webserver with name-based virtual hosting. I've set up the necessary blocks, etc. Since I wish to test this out without actually buying domain names, I've altered my Mac's ...