Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Wrong IP Adres in PHP


Guest

Recommended Posts

Hi there,

 

Just finished my installation of osCommerce yesterday. I plugged it into my network and configured my router so that it's accasseble (?) from the outside. I'm able to reach it from the outside. But all links and pictures are get lokal ip adres (192.168.2.11) and not the extern (84.xxx.xxx.xxx). My website itself works fine, here i used ./ to map pictures and links.

 

So i think there is somethink with Apache or PHP weong. When i'm in the server-info page from osCommerce at the PHP_varables there is written:

 

_SERVER["SERVER_NAME"] 192.168.2.11

_SERVER["SERVER_ADDR"] 192.168.2.11

 

So were can i change that?

 

Gr Roman

 

Server info:

Suse 9.1

Apache 2.0.49

PHP 4.3.4

MySQL 4.0.18

OpenSSL 0.9.7d 17

Link to comment
Share on other sites

You'd be best advised to go to one of the many forums that exist for people trying to run their own servers. This is a server problem and not really anything to do with osCommerce itself.

 

Vger

Link to comment
Share on other sites

You'd be best advised to go to one of the many forums that exist for people trying to run their own servers. This is a server problem and not really anything to do with osCommerce itself.

 

Vger

 

Yes i know. But i also thought lets try it here. Maybe sombody knows the problem/config file. I don't know much forums to ask this. The official sites form php and apache does not have a forum and a bas search engine.

 

Gr Roman.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...