httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christos Jonathan Seth Hayward <christos.jonathan.hayw...@gmail.com>
Subject [users@httpd] Why is this VirtualHost serving 403's for Aliased directories?
Date Mon, 27 Jan 2014 22:54:37 GMT
I am attempting to set a VirtualHost to Alias two directories, and proxy
everything else to a Gunicorn server (adding SSL in passing). The
VirtualHost is:

    <VirtualHost *:443>

        ServerName ccachicago.pragmatometer.com



        Alias /media/ "/home/jonathan/ccachicago/media/"

        ErrorLog /var/log/apache2/error.log

        <Directory "/home/jonathan/ccachicago/media/">

            Options Indexes MultiViews FollowSymLinks

            AllowOverride None

            Order deny,allow

            Deny from all

            Allow from 127.0.0.0/255.0.0.0 ::1/128

        </Directory>



        Alias /admin/static/
"/usr/lib/python2.7/dist-packages/django/contrib/admin/static/"

        <Directory
"/usr/lib/python2.7/dist-packages/django/contrib/admin/static/">

            Options Indexes MultiViews FollowSymLinks

            AllowOverride None

            Order allow,deny

            #Deny from all

            #Allow from 127.0.0.0/255.0.0.0 ::1/128

            #Allow from 0.0.0.0 ::1/128

            Allow from all

            Deny from none

        </Directory>



        ProxyPass /media/ !

        ProxyPass /admin/static/ !

        ProxyPass / http://localhost:8080/

        ProxyPassReverse / http://localhost:8080/



         SSLEngine On

         SSLCertificateFile /etc/apache2/ssl/ssl.crt

         SSLCertificateKeyFile /etc/apache2/ssl/ssl.key

        ServerAdmin CJSHayward@PObox.com

    </VirtualHost>


Any ideas as to what here is causing trouble?


-- 
[image: Christos Jonathan Seth Hayward] <http://jonathanscorner.com/>
Christos Jonathan Seth Hayward, an Orthodox Christian author.

Amazon / Kindle <http://amazon.com/author/cjshayward> * *Author
<http://cjshayward.com/>* * Author Bio <http://jonathanscorner.com/author/>
 * *Email <christos.jonathan.hayward@gmail.com>* *
Facebook<http://www.facebook.com/christos.jonathan.hayward>
 * Fan Page <http://fan.cjshayward.com/> * Google
Plus<http://jonathanscorner.com/plus>
 * LinkedIn <http://www.linkedin.com/in/jonathanhayward> * *Professional
<http://jonathanhayward.com/>* * Twitter<http://twitter.com/JonathansCorner>
 * *Web <http://jonathanscorner.com/>* * What's
New?<http://jonathanscorner.com/>
If you read just *one* of my books, you'll want *The Best of Jonathan's
Corner <http://www.amazon.com/dp/1478219912>*.

Mime
View raw message