Apache will not point to custom webpage

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

Apache will not point to custom webpage

Postby stony1205 » 21. June 2006 20:45

I installed XAMPP correctly, and everything is working when I vew the status window in the xampp control panel.

However, any time I change my document root to where my website is stored, it says it cannot find the "/xampp/" directory. The only page that apache will display is the control panel for xampp. I can't actually get it to host my actual website.


~ Stony
Posts: 1
Joined: 21. June 2006 20:40

Postby riorobert » 26. June 2006 21:49

I got the same exact issue , I don't recall in the past having this much problem. I am using fedora core 5 with the latest xampp 153a , trying to config oscommerce
Posts: 2
Joined: 05. December 2005 22:27

Home page problem

Postby ponsfrilus » 25. July 2006 17:07

Just delete or rename /opt/lampp/htdocs/index.html

Create /opt/lampp/htdocs/index.php with in it:
Code: Select all
header("Location: http://www.example.com/"); /* Redirect browser */

/* Make sure that code below does not get executed when we redirect. */

according to: http://ch2.php.net/header

It will also possible to edit this ligne of /opt/lampp/htdocs/index.html :
Code: Select all
<meta http-equiv="refresh" content="0;url=/xampp/">
and change the /xampp/ to your wondered location...

BE SURE TO CLEAN UP YOUR CACHE BEFORE, you can also try to restart lampp...
Posts: 5
Joined: 17. July 2006 20:17

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests