Topic: URL for sub domain

Hi,

For my french forum,
I have installed the latest version of punbb in a sub domain. The URL is http://forum.logistiqueconseil.org/
But all internal links forums and subjects are like this: http://www.logistiqueconseil.org/forum3/

How can i change it so that alls my forum's URL start with http://forum.logistiqueconseil.org

Tanks

Re: URL for sub domain

You need to change value of the $base_url variable in the file "<FORUM_ROOT>/config.php".

Re: URL for sub domain

Tanks a lot
All links are OK now.

But only moderators and administrators can login.
For simple members, the folowing message is displayed when name and password are provided: "Check settings or enable cookies for this forum".
How can i solve this please?

By now, no member can connect. the forum is empty.
Regards

Re: URL for sub domain

this is the forum message to the user when trying to connect :

"Vous semblez identifié correctement, bien qu’aucun cookie n’ait été enregistré. Merci de vérifier votre paramétrage et si nécessaire d’autoriser les cookies pour ce site."

How can i set cookies ?

Help, Help, Help.

Re: URL for sub domain

Try to set

$cookie_domain = 'forum.logistiqueconseil.org';

in the file "<FORUM_ROOT>/config.php".

Re: URL for sub domain

Slavok wrote:

You need to change value of the $base_url variable in the file "<FORUM_ROOT>/config.php".

The only problem with that is that my version doesn't have a "<FORUM_ROOT>/config.php".  Does it go by other names in other versions?  (newbie question)

I named the directory "/bb" and installed it like that.  But the change password links (and possibly others) all point to "/punbb."  If I try to change the directory to "/punbb" the other links don't work.

ver: 1.3.4

Thanks.

Rich Hollenbeck

Re: URL for sub domain

rghollenbeck wrote:
Slavok wrote:

You need to change value of the $base_url variable in the file "<FORUM_ROOT>/config.php".

The only problem with that is that my version doesn't have a "<FORUM_ROOT>/config.php".  Does it go by other names in other versions?  (newbie question)

I named the directory "/bb" and installed it like that.  But the change password links (and possibly others) all point to "/punbb."  If I try to change the directory to "/punbb" the other links don't work.

ver: 1.3.4

Thanks.

Rich Hollenbeck


Never mind.  I was looking on my local copy.  When I ran "/bb/admin/install.php", it must have created the config.php file.  I'll try and figure it out from here and reply if I have any other trouble.  Thanks.

BTW:  This looks like a really great program.  I just hope that I don't have to delete and re-install it.