Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 25116 invoked from network); 26 Mar 2009 10:47:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2009 10:47:29 -0000 Received: (qmail 93655 invoked by uid 500); 26 Mar 2009 10:47:26 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93589 invoked by uid 500); 26 Mar 2009 10:47:25 -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 93580 invoked by uid 99); 26 Mar 2009 10:47:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 10:47:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andremailinglist@gmail.com designates 209.85.220.167 as permitted sender) Received: from [209.85.220.167] (HELO mail-fx0-f167.google.com) (209.85.220.167) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 10:47:18 +0000 Received: by fxm11 with SMTP id 11so488277fxm.24 for ; Thu, 26 Mar 2009 03:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=cm+M+bduHeccsV5aBfKtUXv1LyXxxgHpuuTHiUTGsIQ=; b=LAHWBY8cxQjKUAGGsGWxnxvb5cbfo5VHPgAmLMg8YU8eK2awgQMYxWJEhfayTH/uJ9 FPPXXIwcd9S9V22c8u8lmp7OCl5Os8R/vkoO0zuPUSED3Rf/mfVwXRgTPrQLz3EPR/cD 8jmOo4wnQYoto+FbGN3WQIqZIpkXdHxlVpUYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oMbdXTMvQmGiQTi1mfzdw8rgfMj311N7HN2Wfg1LGjRRnL7az1g3Uans3xKH2uCLVW o00N63dtIVHIsLOLn+9TputEcIyhmGRw16INnmvMMZRLXPgDxJnLGTEKxW4TMf301Vjd hXHj7f0t5J4fmIJiG2BWOKWeIz1XJ/0lblYHg= MIME-Version: 1.0 Received: by 10.103.160.3 with SMTP id m3mr341668muo.25.1238064417772; Thu, 26 Mar 2009 03:46:57 -0700 (PDT) Date: Thu, 26 Mar 2009 10:46:57 +0000 Message-ID: <640358900903260346w54baa34flf9b73d10db4574b1@mail.gmail.com> From: Andrew Hole To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=0016e659f8c8d4965704660355d6 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] DirectoryIndex --0016e659f8c8d4965704660355d6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi guys! There are two files in DocumentRoot: index.php and index2.php The following directive is configured in httpd.conf DirectoryIndex index.php There is the following instruction inside index.php : window.location =localHost+"/index2.php?idLang=1"; When I invoke the URL on browser (http://localhost/) appears http://localhost/index2.php How can I hide index2.php in address bar? I just want to see always http://localhost Thanks A. --0016e659f8c8d4965704660355d6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi guys!

There are two files in DocumentRoot:
index.php and index= 2.php

The following directive is configured in httpd.conf
<Loc= ation / >
=A0=A0=A0 DirectoryIndex index.php
</Location>
=
There is the following instruction inside index.php :
=A0=A0 window.loca= tion =3DlocalHost+"/index2.php?idLang=3D1";

When I invoke = the URL on browser (http://localhost/)=A0= appears http://localhost/index2.ph= p

How can I hide index2.php in address bar? I just want to see always http://localhost

Thanks
A.

<= br> --0016e659f8c8d4965704660355d6--