On Wednesday 14 November 2007 15:00, Eric H. Jung wrote:
> --- Chris Cross <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I cvs imported a directory to tadpole/www/guide. My index.php works but I
> > was hoping to refer to http://tadpole.mozdev.org/guide. The page not
> > found for "/guide/index.html " indicates that we need to update the
> > apache config to allow php index pages.
> >
> > thanks,
> > Chris
>
> Create a .htaccess file in the www/guide directory and add:
>
> DirectoryIndex index.php
>
I'm fairly sure mozdev's setup ignores .htaccess.
local.conf in the same directory to do a http redirect would be better than
meta refresh
local.conf:
<?php
header('HTTP/1.0 301 Moved Permanently');
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
header('Location: index.php');
exit();
?>
although you could have just uploaded index.php as index.html and used
local.conf to turn the branding off
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners