[support] problem getting page to redirect to sub directory
Earnie Boyd
earnie at users.sourceforge.net
Mon Oct 15 18:44:49 UTC 2012
Keep it on the support list.
So you have sites/my-new-eyes.net. For D7 there is a new file
sites/sites.php that if it exists can map a site URL to the site
config directory.
<file name="sites/site.php">
$sites['www.my-new-eyes.net'] = 'my-new-eyes.net'
</file>
If your directory is named sites/my-new-eyes then do the following one instead.
<file name="sites/site.php">
$sites['my-new-eyes.net'] = 'my-new-eyes'
$sites['www.my-new-eyes.net'] = 'my-new-eyes'
</file>
On Mon, Oct 15, 2012 at 12:09 PM, Scott Berry <sb356607 at gmail.com> wrote:
> I was using the rewrite engine rules in the .htaccess file for Drupal that
> allow me to redirect to a www site. The other problem is I have it in a
> subdirectory called my-new-eyes. I was thinking about putting it straight
> in to the www directory itself but the install instructions say that's not a
> good idea.
>
> On 10/15/2012 06:29 AM, Earnie Boyd wrote:
>>
>> So do you get the 403 error if you remove what you added? If so what
>> did you add?
>>
>> On Sun, Oct 14, 2012 at 3:14 PM, Scott Berry wrote:
>>>
>>> It's version 7. I use the .htaccess file included with the Drupal
>>> distro.
>>>
>>>
>>>
>>> On 10/14/2012 10:50 AM, Earnie Boyd wrote:
>>>>
>>>> Did you replace the existing .htaccess file as delivered? You
>>>> shouldn't do that.
>>>>
>>>> What directories do you have in the sites directory? Is this D6 or D7?
>>>>
>>>> On Sun, Oct 14, 2012 at 10:43 AM, Scott Berry wrote:
>>>>>
>>>>> Hello there,
>>>>>
>>>>> I am trying to get Drupal to come up when I go to www.my-new-eyes.net.
>>>>> I have messed with the .htaccess file but still not getting what I
>>>>> need.
>>>>> I get a Forbidden 403 error when I go to www.my-new-eyes.net now. I am
>>>>> starting with a new .htaccess file so any help would be much
>>>>> appreciated. Thank you.
>>>>>
>>>>> Scott Berry
>>>>> --
>>>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>>
>>>>
>>>
>>> --
>>> Scott Berry
>>> E-mail: sb356607 at gmail.com
>>>
>>> --
>>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>>
>>
>
>
>
> --
> Scott Berry
> E-mail: sb356607 at gmail.com
>
--
Earnie
-- https://sites.google.com/site/earnieboyd
More information about the support
mailing list