Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 21:22:28 +0300
From:      Bashar <big@kuwaitnet.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: index.php
Message-ID:  <42BEF264.2040908@kuwaitnet.net>
In-Reply-To: <f34868a3050626111625f686d6@mail.gmail.com>
References:  <f34868a3050626111625f686d6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If you run apache just add index.php to DirectoryIndex directive at the 
httpd.conf and it should work fine.

example:
<IfModule mod_dir.c>
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp 
index.js index.jp index.php4 index.php3 index.php index.phtml index.htm 
default.htm default.html home.htm
</IfModule>

you can have any file name for example maher.php too and it will load as 
the first page.


Best Regards,


Maher Mohamed wrote:

>how can i make my server link to be redirected to the index.php
>
>i hve a web page at http://150.140.210.79:2005/~mahmoh
>the thing is that if i make the index.html to index.php the whenever i
>go to the url above
>i have to add the extra /index.php 
>
>can i get rid of that? is there a way?
>
> -- 
>Mohamed M. Maher
>_______________________________________________
>freebsd-stable@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>
>
>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42BEF264.2040908>