On 26.03.09 10:46, Andrew Hole wrote:
> 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.p
Hello
Couldn't you do a $_GET or $_POST in your PHP code to check for idLang
and if nothing was specified, default the variable to 1? For example:
switch ($_SERVER['REQUEST_METHOD']) {
case "GET":
$idLang = $_GET['idLang'];
break;
case "POST":
$idLang = $_POST['idLang'
On Tue, Nov 9, 2010 at 3:08 PM, Tim Johnson wrote:
> Platform is ubuntu 10.04
> in my /etc/apache2/mods-available/dir.conf,
> I have the following ::
>
>
> Â DirectoryIndex index.html index.php index.py index.cgi index.pl index.xhtml
> index.htm
>
>
> Is it possible to to set directory files nam
* Eric Covener [101109 14:55]:
> On Tue, Nov 9, 2010 at 3:08 PM, Tim Johnson wrote:
<..> > Is it possible to to set directory files names specific to the
> > directory:
> > Example::
>
> of course you can manually do this by using DirectoryIndex inside of
> or , but if you've got more than a fe