Good evening... Setting up subdomain module on Drupal 5 (latest), on a shared host (hostrocket). I've set everything correctly, ran the patches, etc... Have the DNS server working correctly along with the Drupal URL function and the $cookie_domain settings. The only item that I cannot solve is the web server configuration... as you probably guessed I can't change the httpd.conf on the shared host because it would change the settings for everyone on the server... however, I was hoping that maybe there was an alternative way through .htaccess? I saw this and it gave me some hope.. http://www.webmasterworld.com/apache/3839584.htm
Anybody else in the same situation and found a solution? Ideas (besides changing hosts :)?
All help appreciated,
Mark
--------------------------------
HTTP request to http://subdomain-test.canalanuncio.tv/subdomain/test returned the following result:
HTTP_HOST:
QUERY_STRING:
REQUEST_URI:
SCRIPT_FILENAME:
Authorization Required
Your web server is not routing subdomains to your Drupal directory.Possible Solutions:
If you're running Apache, confirm you have the wildcard directive, ServerAlias *.canalanuncio.tv, in the VirtualHost declaration in your Apache configuration
Confirm there are no rogue URL rewrite rules in your Apache configuration or .htaccess file
Comments
Just throwing it out
Just throwing it out there...most shared hosts give you some sort of control panel, like CPanel. In CPanel it's incredibly easy to set up a subdomain (like 2 textfields and one click easy, IIRC). This is, of course, in lieu of being able to edit your httpd.conf manually.
----------
My Blog
SunriseWebDevelopment.com
Done
@gregor, my host has CPanel and has permitted me to set up a wildcard subdomain... by that still hasn't solved the error it's given me. Thanks for your suggestion.
Solved
I had my site password protected, thus it was allowing the test to execute :O duhh
How?
I have the same problem, how did you sort it??
Anyone know why im getting this error? all other tests are fine.
DNS server - Working
Drupal's URL function - Working
$cookie_domain in settings.php - Set
Web server - Not working yet
HTTP request to http://subdomain-test.designeregistry.com/subdomain/test returned the following result:
HTTP_HOST: SUBDOMAIN TEST
QUERY_STRING: subdomain-test.designeregistry.com
REQUEST_URI: subdomain/test
SCRIPT_FILENAME: ~subdomain-test/subdomain/test
Your web server is not routing subdomains to your Drupal directory.
Possible Solutions: