httpd.conf

httpd.conf

am 20.07.2007 21:02:19 von Floor

I have Apache configured to first look at index.php and then to index.html
I would though use the index.html if a user comes for the first time on my
site.

How can I solve this in httpd.conf? Or is that no option and do I have to
use .htaccess for that (referrer or something like that)?

thanks,
Floor

Re: httpd.conf

am 21.07.2007 00:11:56 von David McKenzie

Floor wrote:
> I have Apache configured to first look at index.php and then to index.html
> I would though use the index.html if a user comes for the first time on my
> site.
>
> How can I solve this in httpd.conf? Or is that no option and do I have to
> use .htaccess for that (referrer or something like that)?
>
> thanks,
> Floor
>
>
You'd have to code something in PHP using cookies. I.e. if the user does
not have the cookie, then redirect to index.html and place the cookie in
their browser.

--
DM davidm@cia.com.au

The funny .sig is in the wash, I am your replacement.