[support] Change to home page location

Halter, Shari SHalter at ThorntonTomasetti.com
Fri Nov 10 22:29:21 UTC 2006


unfortunately, no the rest of the site should only appear under mysite.com,
not mysite.com/home.
 
crazy, I know. 
 
(I think this affects the second post on this, as well)
 


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 at ThorntonTomasetti.com 


 

   _____  

From: Metzler, David [mailto:metzlerd at evergreen.edu] 
Sent: Friday, November 10, 2006 4:26 PM
To: support at drupal.org
Subject: Re: [support] Change to home page location


Are all the pages in the drupal site going to have /home in front of them or
was the idea that only the entry page of drupal needed a to be at /home?  
 
You shouldn't need (nor would I recommend) two copies of the drupal distro
files.  The /files permissions problem is probably because it's root and
it's looking for mysite.com/files when you want it to find
mysite.com/home/files or the other way around.  The permisssions error may
just be indicating that the file doesn't exist? 
 
If all drupal content needs to be accessed from mysite.com/home then I'd
recommend that you only keep the copy there. 
 
Also, this may be slightly different depending on whether clean urls are
enalbed or no....

Dave

   _____  

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Halter, Shari
Sent: Friday, November 10, 2006 11:21 AM
To: support at drupal.org
Subject: [support] Change to home page location



I have a site, call it mysite.com.  

My site lives in the following directory on a Debian linux server:
/export/devhome/mysite.com/htdocs.  Drupal was installed here.  It ran fine.

Administration deemed, after the site was in place, that site home page
needed to be changed to  <http://mysite.com/home> http://mysite.com/home,
rather than  <http://mysite.com> http://mysite.com.  (The URL MUST appear
exactly this way)  So I made a directory, /home, under htdocs.  [I've been
told by our sysadmin that Apache mod_rewrite, symbolic linking and other
server redirect methods wouldn't work].

My home page would initially not run here (complained first about includes,
then modules) so I had to make a separate copy of mostly everything
(includes, modules, misc, etc. everything except for database) in htdocs and
duplicate it in /home.  It now works fine, from both locations.  

The $base_url was left, in sites/mysite.com/settings.php, as
<http://mysite.com> http://mysite.com. 

Questions/issues: 

1.  Is it really necessary to have those Drupal files in both locations
(htdocs and htdocs/home)? 

2.  My "Administer" -> "Settings" page in Drupal is complaining that it no
longer has access or permissions in the /file directory, despite my having
used chmod 755 . to adjust permissions on the directory and the files
within.

Thanks, 
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 at ThorntonTomasetti.com 



<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> 
The information in this email and any attachments may contain 
confidential information that is intended solely for the 
attention and use of the named addressee(s).  This message or 
any part thereof must not be disclosed, copied, distributed or 
retained by any person without authorization from the addressee. 
If you are not the intended addressee, please notify the sender 
immediately, and delete this message. 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> 


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
The information in this email and any attachments may contain
confidential information that is intended solely for the
attention and use of the named addressee(s).  This message or
any part thereof must not be disclosed, copied, distributed or
retained by any person without authorization from the addressee.
If you are not the intended addressee, please notify the sender
immediately, and delete this message. 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20061110/3a1e8767/attachment-0001.htm 


More information about the support mailing list