Splash screen + CakePHP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Splash screen + CakePHP

Postby mejpark » 26. July 2007 14:14

Hello there,

Well I'd like to start by thanking the development team in the efforts in producing XAMPP. It is a fantastic piece of kit, with lots of useful tools.

Can anyone explain how to disable the XAMPP splash screen? I have installed CakePHP according to the instructions in IBM's "Cook up Web sites fast with CakePHP".

When I access http://localhost, CakePHP loads, but XAMPP automatically redirects to http://localhost/xampp/splash.php, causing an error.

Which file needs to be edited to bring down the welcome page? I tried zipping up all the index.* files, but that didn't work. Is there a way to allow both CakePHP and the splash screen to coexist in harmony?

Many thanks,

Michael
--
mejpark
 
Posts: 8
Joined: 26. July 2007 13:57

Re: Splash screen + CakePHP

Postby Eric Pement » 27. July 2007 04:34

mejpark wrote:Can anyone explain how to disable the XAMPP splash screen? I have installed CakePHP according to the instructions in IBM's "Cook up Web sites fast with CakePHP".

When I access http://localhost, CakePHP loads, but XAMPP automatically redirects to http://localhost/xampp/splash.php, causing an error.

Which file needs to be edited to bring down the welcome page? I tried zipping up all the index.* files, but that didn't work.

In the /xampp/htdocs/ folder, the file index.php takes priority over index.htm or index.html, if there are any *.htm* files

The index.php file redirects you to http://localhost/xampp/index.php, which in turn loads the "splash.php" page.

Your solution is to rewrite the /xampp/htdocs/index.php file.
Eric Pement - pemente [at] northpark [dot] edu
Eric Pement
 
Posts: 25
Joined: 19. May 2007 18:35

Postby mejpark » 30. July 2007 09:44

Okay thanks for you reply Eric, I'll give that a try!

Until next time...
--
mejpark
 
Posts: 8
Joined: 26. July 2007 13:57

Postby Pyro-Fire » 31. July 2007 10:16

or you can go into the xampp\apache\conf folder and alter httpd.conf for the default pages + the priority of each.

The data to be altered is at line 238

Code: Select all
<IfModule dir_module>
    DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
</IfModule>


simply re-order the file names to have your custom priority.
Pyro-Fire
 
Posts: 2
Joined: 31. July 2007 05:40

Postby mejpark » 10. August 2007 10:24

Hello again,

Thanks for your suggestions, but they do not seem to have solved the problem, as the splash screen still appears. Here is what I have done:

> Moved ALL index files to new directory "/xampp/htdocs/index.html"
> Renamed index.php to index.php.xampp
> Unpacked CakePHP to webroot
> Renamed /xampp/htdocs/xampp/index.php to index.php.xampp, and replaced file with CakePHP's index.php file (Unpacked in parent directory in previous step)

So, there are two index files (Both of which are created by Cake): one in the webroot, and the other inside the xampp folder. How is the splash screen loaded when xampp's index files are no longer in the picture? Confused.

I'd appreciate your help to resolve this issue.

Many thanks,

Michael
--
mejpark
 
Posts: 8
Joined: 26. July 2007 13:57


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 100 guests