[Xitami] localhost problems..
Dan Fisher
xitami@lists.xitami.org
Fri, 17 Aug 2001 12:41:38 -0700
Dear All,
I am having some very annoying problems. I have begrudgingly accepted
that alias do not work well, so I have put my folder in the webpages
dir., but Xitami still does not seem to like my php files. Here is my
default.cfg file:
#*END
[Alias]
# Fw = "D:\\Data\\Web\\FisherWeb"
[Cgi]
debug = "1"
passargs = "1"
[Filter]
.php = "D:\\Programs\\Php\\php.exe"
.php3 = "D:\\Programs\\Php\\php.exe"
[Security]
filename = "defaults.aut"
[Server]
debug = "1"
default1 = "index.htm"
default2 = "index.php"
default3 = "default.htm"
priority = "3"
# webpages = "d:\\Data\\Web"
So if I try http://localhost/FisherWeb/, it does not like my index.htm
file:
<HTML>
<HEAD></HEAD>
<BODY BGCOLOR="#FFFFFF">
<? php header("Location:
http://localhost/FisherWeb/menu.php?menu=1&submenu=0"); ?>
</BODY>
</HTML>
or my index.php file:
<? header("Location: menu.php?menu=1&submenu=0"); ?>
But if I enter http://localhost/FisherWeb/menu.php?menu=1&submenu=0
directly, it works.
Also, I have noticed lately that when I make a change to Xitami,
terminate and attempt to restart, it complains that the port is already
in use. I have to reboot the machine to get to work again.
Anyone have any ideas as to what my problems may be??
dan