Larry,
Thanks for your advice, and especially for feeling my pain.
Shari
Shari L. Halter Web Programmer, Corporate Services Thornton Tomasetti 51 Madison Avenue New York, NY 10010 T 917.661.7800 F 917.661.7801 D 917.661.7970 SHalter@ThorntonTomasetti.com
-----Original Message----- From: Larry Garfield [mailto:larry@garfieldtech.com] Sent: Saturday, November 11, 2006 2:22 AM To: support@drupal.org Subject: Re: [support] Change to home page location
Let me make sure I understand. Your sysadmin insists that http://mysite.com/ be nothing, and that http://mysite.com/home be what everything thinks is the home page?
Step one, get a new sysadmin because this one is dumb. :-)
When that fails, alias your front page (whatever it is) to the path "home".
Yes, all <front> links (such as breadcrumbs) will still point to an empty path, because that's the way it's supposed to work. You could probably write a module to auto-forward path '' to path "home" fairly easily (hook_init(), probably?). I don't know of an existing way to do that, but that's probably how I'd go about it given silly constraints like that (unless it's because you have some sort of flash ad at your web root, in which case the sysadmin should be shot for wanting a flash ad as a front page for a site in the first place).
On Friday 10 November 2006 21:56, Greg SBC wrote:
I thought of this too, but wouldn't all the home links in breadcrumb and such still point to www.mysite.com, which is not what is wanted. Want home link to link to /home. Without mod_rewrite to change www.mysite.com requests into www.mysite.com/home requests (presumably because something else resides there), this is a tough situation to
handle.
Greg
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Benjamin Melançon Sent: Friday, November 10, 2006 4:23 PM To: support@drupal.org Subject: Re: [support] Change to home page location
unfortunately, no the rest of the site should only appear under mysite.com http://mysite.com/ , not mysite.com/home.
In that case roll everything back, if you can, to before you started copying things (if the original is working, maybe you can just delete the home directory).
Then enable the path module and edit the page you use as your home page, and give it the URL alias "home"
If you have a blog-style front page, a URL alias home for <front> might be possible...
- ben
member, Agaric Design Collective http://AgaricDesign.com - "Open Source Web Development"
person, People Who Give a Damn http://pwgd.org - "building the infrastructure for a network of everyone"
On 11/10/06, Halter, Shari <SHalter@thorntontomasetti.com mailto:SHalter@thorntontomasetti.com > wrote:
unfortunately, no the rest of the site should only appear under mysite.com, not mysite.com/home.
crazy, I know.