Download your favorite Linux distribution at LQ ISO.
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-19-2007, 12:55 AM   #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, 09:10 AM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,551

Rep: Reputation: 139Reputation: 139
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 02:02 PM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 01:35 PM
setting default page size and default tray lived4eva Linux - General 1 11-04-2003 03:39 PM
New Virtual Servers Default to Default Server Page? DigiDave Linux - Software 4 10-18-2003 04:23 AM
disable changing default home page tmz1 Linux - General 4 10-01-2003 04:44 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:11 AM.

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