LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2007, 11:55 PM   #1
immortaltechnique
Member
 
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.



Thanks.
 
Old 11-19-2007, 08:10 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:49 AM.

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