View Single Post
  #6  
Old 3rd March 2006, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please open /home/admispconfig/ispconfig/lib/config.inc.php. You should find something like this:

Code:
if(isset($_SERVER['SERVER_NAME']) && isset($_SERVER['SERVER_PORT'])){
  $go_info["server"]["server_url"] = 'https://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'];
} else {
  $go_info["server"]["server_url"] = "https://blabla:81";
}
Replace it with this:

Code:
if(isset($_SERVER['HTTP_HOST']) && isset($_SERVER['SERVER_PORT'])){
  $go_info["server"]["server_url"] = 'https://'.$_SERVER['HTTP_HOST'].':'.$_SERVER['SERVER_PORT'];
} else {
  $go_info["server"]["server_url"] = "https://blabla:81";
}
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote