Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 80993 invoked from network); 3 Jan 2010 18:24:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jan 2010 18:24:54 -0000 Received: (qmail 87919 invoked by uid 500); 3 Jan 2010 18:24:51 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 87878 invoked by uid 500); 3 Jan 2010 18:24:51 -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 87869 invoked by uid 99); 3 Jan 2010 18:24:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 18:24:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.170.146.89] (HELO etch.riddlemaster.org) (209.170.146.89) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 18:24:41 +0000 Received: from merlin ([192.168.2.12] helo=merlin.localnet) by etch.riddlemaster.org with esmtp (Exim 4.71) (envelope-from ) id 1NRV7i-0003V4-Ak for users@httpd.apache.org; Sun, 03 Jan 2010 13:24:18 -0500 From: Daniel D Jones To: users@httpd.apache.org Date: Sun, 3 Jan 2010 13:24:09 -0500 User-Agent: KMail/1.12.3 (Linux/2.6.31-gentoo-r6; KDE/4.3.3; i686; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201001031324.09421.ddjones@riddlemaster.org> X-Spam-Score: -1.4 (-) X-Spam_score_int: -13 X-Spam_bar: - X-Spam_report: Spam detection software, running on the system "etch.riddlemaster.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. X-Virus-Checked: Checked by ClamAV on apache.org Content preview: How do you associate an Alias with a specific VirtualHost? Under sites-enabled/000-default, I have: ... [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Subject: [users@httpd] Associate Alias with a VirtualHost How do you associate an Alias with a specific VirtualHost? Under sites-enabled/000-default, I have: ... ... Then under a file in conf.d, I have an alias Alias /blah /foor/bar ... I want this alias to take affect only under the SSL virtual host, and to be unavailable on port 80. I tried wrapping the Alias and associated configs under a VirtualHost tag but that creates overlapping VirtualHosts and breaks SSL completely. I also tried going to a NameVirtualHost like so: NameVirtualHost 1.2.3.4:443 ServerName www.mydomain.com ... and wrapping the alias in a VirtualHost tag. This gets rid of the complaint about overlapping VirtualHosts but also breaks SSL completely. I could, of course, move the Alias and associated configs under the section of 000-default, but that rather defeats the purpose of having split config files. I've pored over the Apache docs, dug through the wiki and tried a plethora of different Google searches and haven't been able to find the answer to what I would think would be a simple and fairly common scenario. Maybe my search-fu is weak. Any assistance or pointers to relevant pages or docs would be greatly appreciated. -- "Marijuana makes you sensitive. Courtesy has a great deal to do with being sensitive. Unfortunately marijuana makes you the kind of sensitive where you insist on everyone listening to the drum solo in Iron Butterfly's 'In-a-Gadda- Da-Vida' fifty or sixty times." - P.J. O'Rourke --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org