By meible on
Hi there,
I have some problems with my /sites/default/settings.php
When I set $base_url I get an accessed denied error, for the complete site.
When I uncomment it I can log in again
How can this be?
Thanks,
Martin
Hi there,
I have some problems with my /sites/default/settings.php
When I set $base_url I get an accessed denied error, for the complete site.
When I uncomment it I can log in again
How can this be?
Thanks,
Martin
Comments
More details?
More details?
- What is your exact Drupal version and PHP version?
- Is its a new site or an upgrade? If it is an upgrade, have you used the new settings.php file?
- What does your $base_url look like, is it
http://www.example.com;?- Have you tried to set the cookie_domain variable in settings.php to something like
.example.com? (if this applies to your Drupal version).Also try to clear your browser's cookies after the change.
- Drupal 5.2 (PHP Version
- Drupal 5.2 (PHP Version 5.2.0-8+etch10)
- It is a site I moved to a different server. So it is not an upgrade
- #$base_url = 'http://www.example.com' ; commented version :)
I tried to set the cokie_domain to
# cookie_domain = 'www.example.com';
I get an error if I uncomment both, or one of the two.