Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-18-2007, 11:55 PM   #1
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
Disable xampp default page

I have posted this here severally and am honestly hoping someone will help me sought out this issue.

Am runnin xampp and in htdocs,i 2 sites: one is moodle and the other is a university website.
Now i want the campus website to take preference everytime one goes to the domain address( Ps i dont have a domain name as yet so am using the Ip).
However, when i just type out the ip, it takes me to the default xampp page which i want to disable and include the website. As for moodle i want it to run as a sub-directory and so it has to be accessed by appending / after the address and entering moodle.

I tried by securing the xampp page with a password but i dont even want the password prompt. All i need is the website to take precedence.

Kindly anyone who has an idea, please help.

Old 11-19-2007, 08:10 AM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,531

Rep: Reputation: 132Reputation: 132
you could use a javascript to redirect visitors at the top of xampp index.html:

<script language='javascript'>window.location.href='myURL/university';</script>

or use apache's mod_rewrite. maybe xampp itself offers you to set a default page, but i dont know


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache default page dienerk Linux - General 4 10-22-2004 01:02 PM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 12:35 PM
setting default page size and default tray lived4eva Linux - General 1 11-04-2003 02:39 PM
New Virtual Servers Default to Default Server Page? DigiDave Linux - Software 4 10-18-2003 03:23 AM
disable changing default home page tmz1 Linux - General 4 10-01-2003 03:44 PM

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration