httpd.conf

This is a discussion on httpd.conf within the Apache Web Server forums, part of the Web Server and Related Forums category; I have Apache configured to first look at index.php and then to index.html I would though use the ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-20-2007
Floor
 
Posts: n/a
Default httpd.conf

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


  #2 (permalink)  
Old 07-20-2007
David McKenzie
 
Posts: n/a
Default Re: httpd.conf

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.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:00 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0