Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to set up an Apache VirtualHost on an Ubuntu 13.10 EC2 instance that will serve up media documents from a directory old-school-style. There is an existing VirtualHost which is handling a ProxyPass well enough, and the following:

<VirtualHost *:80>
    ServerName media.ccachicago.org
    ServerAlias media.ccachicago.pragmatometer.com
    DocumentRoot /home/ubuntu/ccachicago/media
    <Directory "/home/ubuntu/ccachicago/media">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        #Order deny,allow
        #Deny from all
        #Allow from ::1/128
        Order deny,allow
        Deny from all
        Allow from ::1/128
    ServerAdmin CJSHayward@PObox.com

media.ccachicago.pragmatometer.com/css/style.css is getting the following 403 error:


You don't have permission to access / on this server.

Apache/2.4.6 (Ubuntu) Server at media.ccachicago.pragmatometer.com Port 80

I've checked file permissions several ways, and as nobody I can cat /home/ubuntu/ccachicago/media/css/style.css, but I've only gotten a 403 on trying to access this VirtualHost. I've also checked that the <Directory> permissions above will allow media access to any client.

What else could I be doing that would stop the VirtualHost to serve up static media content as desired? The machine is a new Ubuntu 13.10 Amazon EC2 instance, and only has VirtualHosts, contents, etc. from the new project.

share|improve this question
Does the edit mean you have an answer ? –  Iain Feb 12 '14 at 20:43
Yes; I was giving the answer I found. –  Jonathan Hayward Feb 13 '14 at 17:37
You should really provide an answer below. –  Iain Feb 13 '14 at 19:03

1 Answer 1

I needed to replace:

Order deny, allow
Deny from all
Allow from ::1/128


Require all granted

from http://stackoverflow.com/questions/11992466/apache-permission-denied

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.