Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 51270 invoked from network); 6 Nov 2006 20:39:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2006 20:39:40 -0000 Received: (qmail 82706 invoked by uid 500); 6 Nov 2006 20:39:40 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 82401 invoked by uid 500); 6 Nov 2006 20:39:39 -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 82390 invoked by uid 99); 6 Nov 2006 20:39:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 12:39:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of sbrown48@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 12:39:26 -0800 Received: by nf-out-0910.google.com with SMTP id p48so2617747nfa for ; Mon, 06 Nov 2006 12:39:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KaxdZZ6NSgRedWzILJtHYcejb/oaJIwXKWBvKHYHKIedFv5zwe6S3KC05UGjy/7ZI8fZ1hjDjY/AlTt3yPckmzI091s2jIroRd6DJzl9FW2CmSQfs5GREYA+vdeHi7pUVrCJCIVRXG/JU8MTSCSP6SZYpNWuT0DFWhu9w3K6X7w= Received: by 10.48.217.20 with SMTP id p20mr1856541nfg.1162845544164; Mon, 06 Nov 2006 12:39:04 -0800 (PST) Received: by 10.49.18.17 with HTTP; Mon, 6 Nov 2006 12:39:04 -0800 (PST) Message-ID: Date: Mon, 6 Nov 2006 15:39:04 -0500 From: "Sean Brown" To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod rewrite question I had already posted this on the configuration list, but got no replies, so I thought someone here might be able to better answer. I've got an odd thing happening and I'm not sure why. I've got the following mod rewrite conditions and rules for the default site on my apache box: Options FollowSymLinks AllowOverride All Order deny,allow Deny from all RewriteEngine on RewriteCond %{REQUEST_URI} /press/ RewriteRule /press/(.*) /press.php?id=$1 [L] RewriteCond %{REQUEST_URI} /jobs/ RewriteRule /jobs/(.*) /jobs.php?id=$1 [L] This works fine. Does what I want it to, which is rewrite /jobs.php?id=873465 to /jobs/873465. All's well there. However, a side affect is that an alias that I have in my main configuration no longer works: Alias /mysql /path/to/phpMyAdmin-2.8.0.3 When I browse to http://localhost/mysql , I get a "Forbidden. You don't have permission to access /mysql/ on this server." When I comment out the mod rewrite lines and bounce apache, it goes back to working just fine. Any insight? Thanks, Sean --------------------------------------------------------------------- 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