I have a site where notifications come with a wrong address.
Ive searched the database and settings.php to find it, but it is not there.

I started out with a drupal installations address elev.drh.dk/ptra, and changed it to ptra.drh.dk
works fine. The elev.drh.dk is still the basic address for the webserver.

Only problem is that notifications come with elev.drh.dk in the link to...

My virtual host file in apache2 looks like this:

ServerName ptra.drh.dk
ServerAdmin hans@ptra.drh.dk
ServerName ptra.drh.dk
ServerAlias ptra.drh.dk
# Indexes + Directory Root.
DirectoryIndex index.php
DocumentRoot /var/www/ptra/


AllowOverride FileInfo Limit Options Indexes

The link works, but the links does not and the garland theme does not load its theme pics.

Hope there is a simple solution ;)

Comments

hansjh’s picture

Strange the code lines are striped away... I try with

    <VirtualHost *>

    ServerName ptra.drh.dk
 	ServerAdmin hans@ptra.drh.dk
        ServerName  ptra.drh.dk
        ServerAlias ptra.drh.dk
        # Indexes + Directory Root.
        DirectoryIndex index.php
    DocumentRoot /var/www/ptra/

<Directory "/var/www/ptra">
     AllowOverride FileInfo Limit Options Indexes
</Directory>

</VirtualHost>

hansjh’s picture

Status: Active » Fixed

Disabling the module all together and reenabeling them again did the trick.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.