Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 17616 invoked from network); 1 Nov 2007 18:10:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 18:10:24 -0000 Received: (qmail 68220 invoked by uid 500); 1 Nov 2007 18:09:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 67773 invoked by uid 500); 1 Nov 2007 18:09:57 -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 67762 invoked by uid 99); 1 Nov 2007 18:09:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 11:09:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [200.55.156.189] (HELO mx.rimed.cu) (200.55.156.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 18:09:57 +0000 Received: from ipimtzcm.rimed.cu (unknown [192.168.157.42]) by mx.rimed.cu (Postfix) with ESMTP id C8947B0C5ED for ; Thu, 1 Nov 2007 21:07:57 -0500 (CST) Received: from wwws ([172.16.16.9]) by ipimtzcm.rimed.cu (ipimtzcm.rimed.cu) (MDaemon.PRO.v8.1.3.R) with ESMTP id md50000069535.msg for ; Thu, 01 Nov 2007 13:07:22 -0500 Message-ID: <001401c81ca9$5ef367c0$091010ac@wwws> From: =?iso-8859-1?Q?Alberto_Garc=EDa_G=F3mez?= To: References: <5BAF7054EE8A1F498478EC08E04E147001D9DA1C@us-bv-m22.global.tektronix.net> <001b01c81bf9$4886a750$091010ac@wwws> <002501c81c9a$d43fee40$091010ac@wwws> Date: Thu, 1 Nov 2007 13:05:14 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Spam-Processed: ipimtzcm.rimed.cu, Thu, 01 Nov 2007 13:07:22 -0500 (not processed: message from valid local sender) X-MDRemoteIP: 172.16.16.9 X-Return-Path: alberto@ipimtzcm.rimed.cu X-MDaemon-Deliver-To: users@httpd.apache.org X-MDAV-Processed: ipimtzcm.rimed.cu, Thu, 01 Nov 2007 13:07:22 -0500 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [users@httpd] APACHE mod_rewrite Joshua: I place the directives in both VirtualHost and in the .htaccess file and nothing happen, ins't working. ----- Original Message ----- From: "Joshua Slive" To: Sent: Thursday, November 01, 2007 01:07 PM Subject: Re: [users@httpd] Re: [***SPAM*** Score/Req: 10.4/5.0] Re: [users@httpd] APACHE mod_rewrite On Nov 1, 2007 11:21 AM, Alberto Garc�a G�mez wrote: > Hi Joshua and fellows: > > Here's my problem indeed: > > I working in a website and I trying to make this website full SEO. Now > actually I'm pasing all parameters to the server in this way: > > 1.- http://www.myserver.com/?param1/param2/param3.html > > But I want to pass the parameters in this way: > > 2.- http://www.myserver.com/param1/param2/param3.html > > So to users and search engines the above URI will be the (2), but the to > the > Apache must be the (1) As search engines get smarter, this kind of optimization matters less and less, but anyway: RewriteEngine On RewriteRule ^/(.*\.html) /?$1 [L] This assumes you want the full path injected in the query string if and only if it ends in html. Other specific restrictions could easily be added with addition RewriteRules. Joshua. --------------------------------------------------------------------- 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 Este correo ha sido enviado desde el Polit�cnico de Inform�tica "Carlos Marx" de Matanzas. "La gran batalla se librar� en el campo de las ideas" --------------------------------------------------------------------- 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