Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 50819 invoked from network); 29 Jun 2007 07:26:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jun 2007 07:26:54 -0000 Received: (qmail 26894 invoked by uid 500); 29 Jun 2007 07:26:44 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 26870 invoked by uid 500); 29 Jun 2007 07:26:44 -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 26859 invoked by uid 99); 29 Jun 2007 07:26:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2007 00:26:44 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of fernando.gomez@mcu.es designates 193.145.24.96 as permitted sender) Received: from [193.145.24.96] (HELO relay2.mcu.es) (193.145.24.96) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 29 Jun 2007 00:26:40 -0700 Received: from W2K3-MCU-EXC.MCU.ES ([10.6.1.201]) by eSafe SMTP Relay 1182939334; Sun, 29 Jun 2007 09:26:18 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 29 Jun 2007 09:26:16 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] some problems about mod rewrite Thread-Index: Ace5pYjs6itY4eVkT62GUco5u7lxwgAeTxmQ From: To: X-ESAFE-STATUS: Mail clean X-ESAFE-DETAILS: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] some problems about mod rewrite -----Mensaje original----- De: alfredo cosco [mailto:orazio.nelson@gmail.com] Enviado el: jueves, 28 de junio de 2007 18:58 Para: users@httpd.apache.org Asunto: [users@httpd] some problems about mod rewrite Hallo, I'm going mad with a server configuration. That's my problem: There is an Institution: www.institution.org It offers a e-journals service between OJS software: www.ojs.institution.org So each journal has this link: www.ojs.institution.org/index.php/Journal So they asked to transform this in this other: www.Journal.institution.org SO, first of all, I asked to the admin of www.institution.org to create a second level domain www.Journal.institution.org and point it to the server wich hosts: www.ojs.institution.org Now I have to point www.Journal.institution.org to the right address: i.e. www.ojs.institution.org/index.php/Journal I tried Virtual Servers, but each Journal has not an its own directory, and i cannot point the Virtual Server directives to a php function call (i.e. www.ojs.institution.org/index.php/Journal) , but, if I understand, it has to point to a real filesystem resource. So I'm trying with mod_rewrite. But I don't know how to write the Rules to rewrite them. At least www.Journal.institution.org has to point here: www.ojs.institution.org/index.php/Journal Can anyone help me? Tnx Alfredo --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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