httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Steigerwald <>
Subject [users@httpd] virtual server trouble-shooting help
Date Sun, 11 May 2014 22:25:11 GMT
I'm struggling to get virtual server working on my local apache
installation. Whenever I try to browse to (the name of the
virtual server), the browser starts searching the internet, instead of my
local installation.

The output from sudo apache2ctl -S makes me believe is enabled:

VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:443          ubuntu (/etc/apache2/sites-enabled/default-ssl:2)
*:80                   is a NameVirtualHost
         default server ubuntu (/etc/apache2/sites-enabled/000-default:1)
         port 80 namevhost ubuntu (/etc/apache2/sites-enabled/000-default:1)
         port 80 namevhost
         port 80 namevhost
         port 80 namevhost ubuntu (/etc/apache2/sites-enabled/default:1)
Syntax OK

I've used this syntax before, so I think it's the best I can do:

<VirtualHost *:80>
  ServerAlias *
  DocumentRoot /home/drupalpro/websites/
  <Directory /home/drupalpro/websites/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all

I think the permissions on the DocumentRoot are correct

drupalpro@ubuntu:~$ ls -ld /home/drupalpro/websites/
lrwxrwxrwx 1 drupalpro drupalpro 38 May  5 09:23
/home/drupalpro/websites/ -> /home/drupalpro/websites/

Likewise with /etc/apache2/sites-enabled:

drupalpro@ubuntu:~$ ls -ld /etc/apache2/sites-enabled
drwxr-xr-x 2 drupalpro drupalpro 4096 May 11 17:18

What else should I check?

Mike Steigerwald <!/MFSteigerwald>

Michael Steigerwald
4041 12th Ave S.
Minneapolis, MN 55407-3239

View raw message