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.

Reply via email to