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 0E5844F44 for ; Fri, 10 Jun 2011 09:11:53 +0000 (UTC) Received: (qmail 10720 invoked by uid 500); 10 Jun 2011 09:11:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 10669 invoked by uid 500); 10 Jun 2011 09:11:50 -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 10661 invoked by uid 99); 10 Jun 2011 09:11:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 09:11:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of the.oldgoat@hotmail.com designates 65.55.111.109 as permitted sender) Received: from [65.55.111.109] (HELO blu0-omc2-s34.blu0.hotmail.com) (65.55.111.109) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 09:11:41 +0000 Received: from BLU122-W12 ([65.55.111.71]) by blu0-omc2-s34.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 10 Jun 2011 02:11:21 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_180da01a-463d-4023-a379-c71c2c5a9b3b_" X-Originating-IP: [213.249.135.30] From: Steve Brereton To: Date: Fri, 10 Jun 2011 10:11:21 +0100 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 10 Jun 2011 09:11:21.0034 (UTC) FILETIME=[5D21F2A0:01CC274E] X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Permission denied virtualhost alias --_180da01a-463d-4023-a379-c71c2c5a9b3b_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable that's always going to be file system or site authentication. Are you sure the DNS for the three sites is pointing at the same place?=20 Date: Fri=2C 10 Jun 2011 11:08:38 +0200 From: bocalinda@gmail.com To: users@httpd.apache.org Subject: [users@httpd] Permission denied virtualhost alias Hi=2C I got the following parameters in my VirtualHost configuration: ServerName www.someserver.com ServerAlias www.otherserver.com ServerAlias otherserver.com DocumentRoot /var/www/public_html ErrorLog /var/log/apache2/error_log CustomLog /var/log/apache2/acces= s_log combined DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options -Indexes +IncludesNOEXE= C +FollowSymLinks allow from all AllowOverride All I can access without any problems to www.someserver.com and www.otherserver= .com=2C but otherserver.com (w/out www) returns HTTP error 304: Permission = Denied. I'm clueless about what the reason could be. Note that all hostnames are pointing to the same IP address. Any help would be kindly appreciated. = --_180da01a-463d-4023-a379-c71c2c5a9b3b_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable that's always going to be file system or site authentication.
Are you su= re the DNS for the three sites is pointing at the same place?


Date: Fri=2C 10 Jun 2011 11:08:38 +0200
From: bocalin= da@gmail.com
To: users@httpd.apache.org
Subject: [users@httpd] Permis= sion denied virtualhost alias

Hi=2C

I got the fol= lowing parameters in my VirtualHost configuration:

<=3BVirtualHost *:80>=3B
 =3B =3B  =3BServe= rName www.someserve= r.com
 =3B =3B  =3BServerAlias www.otherserver.com
 =3B =3B =  =3BServerAlias ot= herserver.com

 =3B =3B &nbs= p=3BDocumentRoot /var/www/public_html
 =3B =3B  =3BErrorLog /var/log/apache2/error_log
 =3B =3B  =3BCustomLog /var/log/apache2/access_log combined

 =3B =3B  =3BDirectoryIndex index.html i= ndex.htm index.php index.php4 index.php5

 =3B =3B  =3B<=3BDirectory /var/www/public_html>=3B
 =3B =3B  =3B  =3B  =3BOptions -Indexes +Includ= esNOEXEC +FollowSymLinks
 =3B =3B  =3B  =3B  = =3Ballow from all =3B
 =3B =3B  =3B  =3B &nbs= p=3BAllowOverride All
 =3B =3B  =3B<=3B/Directory&g= t=3B
<=3B/VirtualHost>=3B

I can access w= ithout any problems to www.someserver.com and www.otherserver.com=2C but otherserver.com (w/out www) returns HTTP error 30= 4: Permission Denied.
I'm clueless about what the reason could be.

= Note that all hostnames are pointing to the same IP address.

=
Any help would be kindly appreciated.

= = --_180da01a-463d-4023-a379-c71c2c5a9b3b_--