<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Ken,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Just create a file called index.html in that
directory (or whereever you want you user to come in), with the following
source:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>--------------------------------------------------------<BR><HTML><BR><HEAD><BR><TITLE>Redirect</TITLE><BR><meta
HTTP-EQUIV="REFRESH" content="0;
url=/chameleon/test.phtml"><BR></HEAD><BR><BODY
BGCOLOR="ffffff"><BR></BODY><BR></HTML><BR>--------------------------------------------------------</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>You have to change the URL based on what you need. This is the approach
I use, and I should hopefully avoid the issue you have now, because the user
actually comes in through that file.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV> </DIV>
<DIV>Jacob</DIV>
<DIV> </DIV>
<DIV><BR>-----Original Message-----<BR>From: <A
href="mailto:chameleon-bounces@lists.maptools.org">chameleon-bounces@lists.maptools.org</A>
[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken
Sanderson<BR>Sent: 31 August 2004 05:00<BR>To: <A
href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</A><BR>Subject:
RE: [Chameleon] Making chameleon work with index.php</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I use IIS, but I gather from below all that is happening there
is<BR>index.html and test.phtml will be looked for if no file is specified
in<BR>the URL. So in this case <A
href="http://www.rockies.ca/chameleon">www.rockies.ca/chameleon</A> would look
for<BR>index.html or test.phtml, or maybe its saying use test.phtml instead
of<BR>index.html? We have the same settings for IIS and I have it setup
and<BR>working. The problem is it only works for the first load of
chameleon,<BR>after that it returns a page error whenever I try and use a
tool.</DIV>
<DIV> </DIV>
<DIV>I am guessing its something in the code that's using the URL
to<BR>determine the name of the file to load, and because<BR><A
href="http://www.rockies.ca/chameleon">www.rockies.ca/chameleon</A> doesn't list
a specific filename its erroring<BR>out.</DIV>
<DIV> </DIV>
<DIV>Ken</DIV>
<DIV> </DIV>
<DIV>-----Original Message-----<BR>From: <A
href="mailto:chameleon-bounces@lists.maptools.org">chameleon-bounces@lists.maptools.org</A><BR>[mailto:chameleon-bounces@lists.maptools.org]
On Behalf Of Eric Bridger<BR>Sent: August 30, 2004 1:25 PM<BR>To: Ken
Sanderson<BR>Cc: <A
href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</A><BR>Subject:
Re: [Chameleon] Making chameleon work with index.php</DIV>
<DIV> </DIV>
<DIV><BR>Are you running Apache? Do you have access to your Apache
configuration<BR>file: httpd.conf? If so this should work:</DIV>
<DIV> </DIV>
<DIV><Directory /home/www/htdocs/chameleon><BR> DirectoryIndex
index.html test.phtml<BR></Directory></DIV>
<DIV> </DIV>
<DIV>Eric</DIV>
<DIV> </DIV>
<DIV><BR>On Mon, 2004-08-30 at 13:29, Ken Sanderson wrote:<BR>> Is there a
way to make chameleon work with just the directory name in <BR>> the URL with
the 1.99b chameleon sample setup?<BR>> <BR>> For example <A
href="http://www.rockies.ca/chameleon">http://www.rockies.ca/chameleon</A>
instead of <BR>> <A
href="http://www.rockies.ca/chameleon/test.phtml">http://www.rockies.ca/chameleon/test.phtml</A><BR>>
<BR>> I renamed the 'test.phtml' to 'index.php' which is one of my default
<BR>> names that auto loads when you type in just the directory path. This
<BR>> works for the initial load, but if you do anything after that it
<BR>> returns a 'cant find page' error. I have another project setup with
<BR>> some javascript front end that starts at the index.php, but because
of</DIV>
<DIV> </DIV>
<DIV>> the scripting it auto adds index.php to the location bar and thus it
<BR>> works fine.<BR>> <BR>> Thoughts on how to enable this?<BR>>
<BR>> Ken<BR>> <BR>> <BR>>
_______________________________________________<BR>> Chameleon mailing
list<BR>> <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A>
<BR>> <A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR>>
</DIV>
<DIV> </DIV>
<DIV><BR>_______________________________________________<BR>Chameleon mailing
list<BR><A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A></DIV>
<DIV> </DIV>
<DIV><BR>_______________________________________________<BR>Chameleon mailing
list<BR><A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR></FONT></DIV></BODY></HTML>