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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 | |
|
|