[Project_owners] how to eliminate www/ in favor of drupal?

Eric H. Jung eric.jung at yahoo.com
Tue Nov 13 19:32:02 PST 2007


Thanks, Michael!

--- "Michael Vincent van Rantwijk, MultiZilla" <mv_van_rantwijk at yahoo.com> wrote:

> Eric H. Jung wrote:
> > Hi,
> > 
> > What's the best way to "eliminate" the www/ portion of my mozdev project? In other words, when
> > people visit mysite.mozdev.org, I want them to see only my drupal installation. Should I just
> > commit <script>location.href="http://mysite.mozdev.org/drupal/"</script> as the www/index.html
> > page?
> > 
> > Thanks,
> > Eric
> 
> I would not use JavaScript but a small PHP snippet, something like this:
> 
> <?php
>    header("HTTP/1.1 301 Moved Permanently");
>    header("Location: http://mysite.mozdev.org/drupal/");
>    exit();
> ?>
> 
> -- 
> Michael Vincent van Rantwijk
> - MultiZilla Project Team Lead
> - XUL Boot Camp Staff member (ActiveState Training Partner)
> - iPhone Application Developer
> 
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
> 



More information about the Project_owners mailing list