Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F1AA10A42 for ; Mon, 27 Jan 2014 22:55:06 +0000 (UTC) Received: (qmail 64928 invoked by uid 500); 27 Jan 2014 22:55:02 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 64880 invoked by uid 500); 27 Jan 2014 22:55:02 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 64872 invoked by uid 99); 27 Jan 2014 22:55:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 22:55:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christos.jonathan.hayward@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 22:54:58 +0000 Received: by mail-wg0-f41.google.com with SMTP id n12so4901049wgh.2 for ; Mon, 27 Jan 2014 14:54:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2NZMrx+QMCEqiYb7KW16nUqo1tCM7APsl8goo1AohAI=; b=pPfhScd5dwwvcO4IRB+Kln4eQjY1HS44hyybth2WzIpAMN314JMGM2hw9uSRyVJb3J kCeZsSfoPUAeUbAfBCxWTTrds4X9p7CvziMuEFB4gyw3aNXcYp+Q6zuGy+kiDQb0bhWu SwBAJcKP2+/c66fAPrrN1yby6iNv6DegMC7AwQhVr1alyaa7OkGEqQJ7iclzQOMhcBtS K12CCf0JUQ0OojUNDEQTA0cCDftVAESbgaAh1FQt3aXTkO6YcT4peCc8yjsYp7F6yk4X wg+TsC69pY1nFiZuHom/WJBMzyxavoxVYmyIzBAvvhmXeHIMrqk87JNeQ8ytfjWUtCjs gWLA== MIME-Version: 1.0 X-Received: by 10.180.108.130 with SMTP id hk2mr13729440wib.16.1390863277511; Mon, 27 Jan 2014 14:54:37 -0800 (PST) Received: by 10.194.249.170 with HTTP; Mon, 27 Jan 2014 14:54:37 -0800 (PST) Date: Mon, 27 Jan 2014 16:54:37 -0600 Message-ID: From: Christos Jonathan Seth Hayward To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=e89a8f3bb00f9659fe04f0fb97b5 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Why is this VirtualHost serving 403's for Aliased directories? --e89a8f3bb00f9659fe04f0fb97b5 Content-Type: text/plain; charset=ISO-8859-1 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: ServerName ccachicago.pragmatometer.com Alias /media/ "/home/jonathan/ccachicago/media/" ErrorLog /var/log/apache2/error.log Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 Alias /admin/static/ "/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 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 Any ideas as to what here is causing trouble? -- [image: Christos Jonathan Seth Hayward] Christos Jonathan Seth Hayward, an Orthodox Christian author. Amazon / Kindle * *Author * * Author Bio * *Email * * Facebook * Fan Page * Google Plus * LinkedIn * *Professional * * Twitter * *Web * * What's New? If you read just *one* of my books, you'll want *The Best of Jonathan's Corner *. --e89a8f3bb00f9659fe04f0fb97b5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I am attempting to s= et a VirtualHost to Alias two directories, and proxy everything else to a G= unicorn server (adding SSL in passing). The VirtualHost is:

<= /div>
=

    <VirtualHost *:443>

      =   ServerName ccachicago.pragmatometer.com

 

        Alias /media/ "/home/jonat= han/ccachicago/media/"

        ErrorLog /var= /log/apache2/error.log

        <Directory &quo= t;/home/jonathan/ccachicago/media/">

      &nb= sp;     Options Indexes MultiViews FollowSymLinks

            AllowOverride None

 = ;           Order deny,allow

    &= nbsp;       Deny from all

        =     Allow from 127.0.0.0/255.0.0.0 ::1/128

        </Directory>

 

  &n= bsp;     Alias /admin/static/ "/usr/lib/python2.7/dist-packa= ges/django/contrib/admin/static/"

        &l= t;Directory "/usr/lib/python2.7/dist-packages/django/contrib/admin/sta= tic/">

            Options Indexes MultiViews Fol= lowSymLinks

            AllowOverride N= one

            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

  &= nbsp;         Deny from none

     =   </Directory>

 

        P= roxyPass /media/ !

        ProxyPass /admin/stati= c/ !

        ProxyPass / http://localhost:8080/

    &n= bsp;   ProxyPassReverse / http://localhost:8080/

 

         SSLEngine On

     &n= bsp;   SSLCertificateFile /etc/apache2/ssl/ssl.crt

   =       SSLCertificateKeyFile /etc/apache2/ssl/ssl.key

&= nbsp;       ServerAdmin CJSHayward@PObox.com

  &n= bsp; </VirtualHost>


Any ideas as to what here is causing trouble?

=


--
=
3D"Christos
C= hristos Jonathan Seth Hayward, an Orthodox Christian author.

Amazon / Kindle • Author • Autho= r Bio • Email • Facebook • Fan Page •&nbs= p;Google Plus • LinkedIn • Professional • Twitter • Web • What's New?

If you read just one of my books, you'll want The Best of Jonathan's Cor= ner.
--e89a8f3bb00f9659fe04f0fb97b5--