is there a fix for this?Drupal's inbound URL rewriting

trinin - April 3, 2009 - 18:37
Project:Subdomain
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:critical
Assigned:trinin
Status:active
Description

I've been tring to figure out why Im getting this error with the subdomain module?

Drupal's inbound URL rewriting - show/hide details Not working yet
HTTP request to http://subdomain-test.dev.apptricity.com/subdomain/test resulted in an internal Drupal path of . It should have been ~subdomain-test/subdomain/test

The custom_url_rewrite_inbound() function in settings.php is rewriting the internal path incorrectly. Did you patch settings.php? See readme.txt for instructions.

I copied and pasted the code in the settings file and also uncommented out the cookie line and I have celan URLS enabled.

Is there anyone who has had this same problem?

#1

mrgoltra - May 13, 2009 - 19:18

I am getting this warning. Even on a fresh install. Followed instructions over and over just couldn't get to work.

#2

setvik - May 14, 2009 - 05:27

@trinin: I haven't seen this specific warning message before, where it rewrites the URL to nothing. What version of Drupal are you using? Are you using the 1.5 version of subdomain? What other modules are installed? Are you able to get subdomain running on a fresh install of Drupal with pathauto and token?

@mrgoltra: do you have additional modules installed? Is your message *exactly* the same as the message above? is this the only error message on that screen?

#3

mrgoltra - May 14, 2009 - 15:25

same error. no additional modules except what is needed.

#4

setvik - May 16, 2009 - 14:52

The only thing i can think of is if conflicting modules are installed (e.g. domain or global redirect).

Another possible cause could be rogue URL rewrite rules in your .htaccess file or Apache configuration.

Other than that i'm not sure.

#5

himagarwal - August 29, 2009 - 12:39

had the same problem, got it working after subdomain wildcard was setup by the hostgator

 
 

Drupal is a registered trademark of Dries Buytaert.