[Project_owners] how to eliminate www/ in favor of drupal?
Michael Vincent van Rantwijk, MultiZilla
mv_van_rantwijk at yahoo.com
Tue Nov 13 18:42:57 PST 2007
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
More information about the Project_owners
mailing list