Author Topic: Change the way of the domain  (Read 3383 times)

0 Members and 1 Guest are viewing this topic.

Offline tldragon

  • Newbie
  • *
  • Posts: 12
    • View Profile
Change the way of the domain
« on: December 27, 2002, 03:19:56 AM »
how can i chage the way of the domain i got right now
now is http://domain.com/gallery
i want it to be like this http://www.domain.com/gallery

Edit* Sorry guys i mistyped
thank  Caelestis
That is what i meant  8)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Change the way of the domain
« Reply #1 on: December 27, 2002, 04:00:03 AM »
u cant change domain like this, u can change only prefix (www) make it http://gallery.domain.com .
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Caelestis

  • Newbie
  • *
  • Posts: 40
    • View Profile
Change the way of the domain
« Reply #2 on: December 27, 2002, 05:53:04 AM »
i dun think that's what he means... open includes/constants.php and at the top there is something like
Code: [Select]
// If 4images has problems to find out the right URL, define it here.
// define('SCRIPT_URL', 'http://domain.com/gallery'); //no trailing slash



change to

Code: [Select]
// If 4images has problems to find out the right URL, define it here.
// define('SCRIPT_URL', 'http://www.domain.com/gallery'); //no trailing slash




wait i just read his post again... yeah it's not gonna work...