httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Hole <andremailingl...@gmail.com>
Subject [users@httpd] DirectoryIndex
Date Thu, 26 Mar 2009 10:46:57 GMT
Hi guys!

There are two files in DocumentRoot:
index.php and index2.php

The following directive is configured in httpd.conf
<Location / >
    DirectoryIndex index.php
</Location>

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.

Mime
View raw message