Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 02:51 am EST

Geeklog Forums

GL and Vhosts?


Status: offline

squatty

Forum User
Full Member
Registered: 01/21/02
Posts: 269
I've decided to run multiple Vhosts on my server. I have three domain names that I would like to run the same instance of GL on...same DB (stories, users, comments, ect...). The question I have is: 1) Has this been done before and will it work? 2) What limitations will I run into? The only issue that comes to mind is "What's related". My configuration is rather simple, each Vhost has its own document root. Within each doc root is /path/to/geeklog (and all associated folders/files). I have set-up a config.php for each Vhost with the correct paths, ect. Each config.php points to the same GL db and tables. If this config is not possible then I will simply go with a redirect for each host....the .US and .TV domains will redirect to .COM. Any thoughts or suggestions?
In a world without walls and fences, who needs Windows and Gates?
 Quote

Anonymous

Anonymous
If you set the doc root for all the vhosts to the same folder, u shouldnt need more then one copy of the files.
 Quote

Status: offline

squatty

Forum User
Full Member
Registered: 01/21/02
Posts: 269
Sure but, each GL site needs it's own config.php file...site links are created via the $_CONF['site_url']. That's why I created seperate doc roots.---Danny @ squatty.com
In a world without walls and fences, who needs Windows and Gates?
 Quote

All times are EST. The time is now 02:51 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content