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. |
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 |
All times are GMT -5. The time now is 10:40 PM. |