my situation is the following:

when I run drupal from from e.g. www.drupalblog.com/drupal it works perfectly

but when I run it from a referring URL (forward) like www.forwardblog.com
it gives me login troubles...

the drupal blog comes up fine, but when I login, I don't really login, I keep getting the "username" and "password" textbox instead of my available user options like "write content"

does anybody know how I can fix this?

Comments

archatas’s picture

I suggest you to try to change the file sites/default/settings.php

To tell you more concretely, change

$base_url = "www.drupalblog.com/drupal";

to

$base_url = "forwardblog.com";

I hope this will help you. Good luck!

jorre’s picture

I'm sure this will work on one URL, but what if I use another URL to forward to the original url

e.g.:

my installation is set at www.installation.com/drupal

but I use a forwarder like www.forward1.com that refers to www.installation.com/drupal

what if I use more than 1 forward URL to point to my drupal installation.... I know this may not be necessary, but what IF?

jorre’s picture

this doesn't work.... when I go to "forwardblog.com" in this example, it will give me a page with no layout whatsoever...

chx’s picture

noone knows how to fix this because the information is inadequate. what's a referring URL (forward) ?? what exactly are you trying to do?

As I read the comment above, you may try searching the handbook on tolerant base url that may help.
--
Read my developer blog on Drupal4hu.

--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.