Hi, i want to know how to use an intro page for my dolphin script... normally... the index.html load before index.php... but with the dolphin script... the .htaccess its load the index.php unstead of the index.html file when i go to the main domain of my website... so i try to add the line
DirectoryIndex index.html
in the .htaccess file... but it make some bugs with the script... so i cant add this line...
so does anyone got a solution for me... to make my intro page still working before my visitor go into the main index.php page??
thx
|
in your .htaccess file, add this line:
AddType application/x-httpd-php .htm .html
and enjoy how your html pages work just like php pages.
If index.html will not take priority over the index.php, then try default.html or simply default.php or in some rare instances you can use home.html
Good luck
|
Dawm it..... it still dont work with any of these name files... :(
in your .htaccess file, add this line:
AddType application/x-httpd-php .htm .html
and enjoy how your html pages work just like php pages.
If index.html will not take priority over the index.php, then try default.html or simply default.php or in some rare instances you can use home.html
Good luck
|
so anyone got a solution??? |
Hi, i want to know how to use an intro page for my dolphin script... normally... the index.html load before index.php... but with the dolphin script... the .htaccess its load the index.php unstead of the index.html file when i go to the main domain of my website... so i try to add the line
DirectoryIndex index.html
in the .htaccess file... but it make some bugs with the script... so i cant add this line...
so does anyone got a solution for me... to make my intro page still working before my visitor go into the main index.php page??
thx
There is nothing in default dolphin .htaccess file to override apache setting.
If "DirectoryIndex index.html" do not work for you, then try to add this lined to httd.conf, because some apache settings may forbid to override some settings on .htaccess file.
|
i try this but it still dont work... the index.php still be the default page if you go on the main domain...
|
here is my msn : latincrib@live.com
i can help u withthis i'm online all the time 24/7
Post Reply - if you going to help - No for - bla bla bla bla |
so it seams that i still dont have a solution for this problem... :( |
install dolphin in a sub folder : http://domainname.com/dolphin/...
create index.html at the root of the domain : http://domainname.com/index.html
looks like dolphin's index page is index.php, I don't know how to change that.
so, the above will be a simple solution for your NEXT install...
hope it helps.
|
Hi, never done this with dolphin, but what will happen if you rename index.php to index1.php then create a new index.php that redirects to your intro page |
Hi, never done this with dolphin, but what will happen if you rename index.php to index1.php then create a new index.php that redirects to your intro page
well the script of dolphin will not put the link to index2.php.... so i think i will got some linkin problem... the script will always go to index.php.... me i want that only for access and the root domain...
|