not sure if this is Condition or Virtual Sites issue

AndriaD - May 6, 2008 - 17:15
Project:Virtual Sites
Version:6.x-1.3
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm not sure if this issue should be addressed here, or in the Condition queue. I have set a condition, called 'dotnet', with Requirement: Hostname, Only on listed hostname, "crypticsites.net". At my server's Cpanel, I have setup a redirect, to always redirect crypticsites.net to crypticsites.com (where my Drupal, Condition, and Virtual Sites is installed). So, the redirect works; I put http://crypticsites.net into the address line and it goes to crypticsites.com -- but the Condition isn't working; it's not triggering the Virtual Site; is it because the .net is being redirected to the .com before it ever gets to Drupal? If so, how do I address that problem?

I don't know *anything* about "symbolic links," so if it has something to do with that, PLEASE be completely explicit with directions for how I would set that up. I think my host will allow SSH access on a per-case basis, but since I've never done anything with SSH, I don't know anything about that either; command-line OS is not new to me since I used to be very expert with DOS before Windows took over the world, but I don't know the first thing about the Unix/Linux command line syntax.

Can you help? (and if this is misplaced and should be in the Condition queue, please excuse, but it seemed to pertain to implementing the Virtual Sites module).

Thx,
Andria

#1

AndriaD - May 6, 2008 - 18:15

I should add to this -- I have the option, with Cpanel, to make it either a permanent (301) or temporary (302) redirect -- does this matter? At the moment I have it set as a permanent - 301 ... but maybe it doesn't matter? I really don't know, not knowing that much about how web servers operate...

Andria

#2

MentalFS - June 18, 2008 - 14:22

This can't work because in the end the browser is still accessing the page via the .com domain. The redirect only tells the browser "Hey, look at the .com domain instead".

To work, both pages must be on the same server and have the drupal installation as root folder.

 
 

Drupal is a registered trademark of Dries Buytaert.