DirectoryIndex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux