irwin
Posts: 4
|
| Posted: 08/13/2006, 12:48 PM |
|
Hi, I would like to know how to set the Default.php page as my home page (which I have done in Project Settings) but without having to include the page name in the URL
eg: www.mysite.com
NOT www.mysite.com/Default.php
Thanks.
_________________
Hi I want to install MyODBC but I'm not sure in what directory. I have Apache, MySQL, PHP on my pc can anybody advise
thanks |
 |
 |
wkempees
Posts: 1679
|
| Posted: 08/13/2006, 1:52 PM |
|
name your page index in stead of Default
Most Apache setups will deafult, try to load index.html if that does not exist they will try and load index.php.
So your best setup would be to
1: have and index.php, if you use php with templates and ccs3+ also set a template directory in ProjectSettings.
make sure that your .html files are place in the templates directory.
2: if #1 is no option you could put a index.html in your directory that autoloads the Default.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta Content-Type: text/html; charset=iso-8859-1 http-equiv="Refresh" content="0; URL=http://www.mysite.com/Default.php>
<title>
MySite
</title>
</head>
<body>
</body>
</html>
Will do the trick.
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
irwin
Posts: 4
|
| Posted: 08/13/2006, 3:11 PM |
|
Thanks Walter
It worked!
I used the second option with a few tweaks and all's well.
_________________
Hi I want to install MyODBC but I'm not sure in what directory. I have Apache, MySQL, PHP on my pc can anybody advise
thanks |
 |
 |
|