[Chameleon] Making chameleon work with index.php
Eric Bridger
eric at gomoos.org
Mon Aug 30 15:25:27 EDT 2004
Are you running Apache? Do you have access to your Apache configuration
file: httpd.conf? If so this should work:
<Directory /home/www/htdocs/chameleon>
DirectoryIndex index.html test.phtml
</Directory>
Eric
On Mon, 2004-08-30 at 13:29, Ken Sanderson wrote:
> Is there a way to make chameleon work with just the directory name in
> the URL with the 1.99b chameleon sample setup?
>
> For example http://www.rockies.ca/chameleon instead of
> http://www.rockies.ca/chameleon/test.phtml
>
> I renamed the 'test.phtml' to 'index.php' which is one of my default
> names that auto loads when you type in just the directory path. This
> works for the initial load, but if you do anything after that it returns
> a 'cant find page' error. I have another project setup with some
> javascript front end that starts at the index.php, but because of the
> scripting it auto adds index.php to the location bar and thus it works
> fine.
>
> Thoughts on how to enable this?
>
> Ken
>
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
More information about the Chameleon
mailing list