Koozali.org: home of the SME Server

[Announce] osCommerce for SME 7.x

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« on: June 07, 2007, 07:33:51 PM »
Hi everyone,

I've made an rpm installation for osCommerce 2.2MS2 on SME 7.x
You will be able to download it here as soon as the mirrors will sync.

Any comments appreciated!


Best regards,
Sylvain

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #1 on: June 08, 2007, 03:41:28 PM »
Hi!

A new release of osCommerce is available here.
A minor bug was fixed so Admin panel is now only accessible with https.
Thanks to wdepot who pointed me to this.

I've also updated the wiki page


Best regards,
Sylvain

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #2 on: August 05, 2007, 07:36:39 AM »
I have installed the rpm following the instructions in the wiki, set an admin user and password. I can log into the admin page and after that all I get is

Quote
The requested URL /oscommerce/admin/configuration.php was not found on this server.


Any suggestions ?? SME is Server only V7.2

Peter
...

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #3 on: August 05, 2007, 07:40:54 AM »
Another interesting observation is that if I go https://server/oscommerce/admin with firefox it opens up in English but if I do the Same in IE6, it opens in French.

Trying to change the language with either browser results in the same message as above.
...

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #4 on: August 05, 2007, 08:51:15 AM »
Hi Peter,

I've just take a look at the RPM under SME 7.2 and I can't reproduce the error. I've tested it with both IE 7 and Firefox 2.0.0.6 with no problem. I also can switch languages.
My SME 7.2 is a fresh install one with all updates and no contribs and it's in server-only mode.

Have you tryed to delete your browser cache/cookies?

Sylvain

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #5 on: August 06, 2007, 08:38:14 AM »
OK - a closer look and I can see the problem but I cannot see the solution.

I actually have two SME servers on my network, server2 and server3.

Server2 is my "main" server configured in server-gateway mode and server3 is in server only mode. I have  installed OSCommerce on server 3 and it delivers me the setup page but when I click any option, it is using my FQDN which is redirecting it to server2.

I need to change a config somewhere so it points to localhost on the installed server or to server3 (which are the same)  rather than the FQDN which will redirect it to server2. I just cannot work out where....
...

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #6 on: August 08, 2007, 12:00:29 AM »
Hi,

Could proxypass do the job?

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #7 on: August 08, 2007, 06:15:54 AM »
Dont know about proxypass and 7.2
...

Offline raem

  • *
  • 3,972
  • +4/-0
[Announce] osCommerce for SME 7.x
« Reply #8 on: August 08, 2007, 06:26:04 AM »
...

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #9 on: August 08, 2007, 12:13:33 PM »
Ray

Thanks for the link.  I am not sure what I should have searched before asking.

I am already aware of the caveat regarding proxy-pass

Quote
This ProxyPass has only been tested with http (not https). Some have reported success with https however YMMV. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it. A ProxyPass panel is in the works, see bugzilla:1612.  


and I dont really want to hack my main server in this way at this time.
...

Offline cool34000

  • *
  • 339
  • +0/-0

Offline raem

  • *
  • 3,972
  • +4/-0
[Announce] osCommerce for SME 7.x
« Reply #11 on: August 08, 2007, 02:28:06 PM »
p-jones

Quote
I am not sure what I should have searched before asking


how about ummm, proxypass

Quote
I dont really want to hack my main server in this way at this time


It's not a hack, it's a feature that the developers designed into sme7.0 !
Search bugzilla if you don't believe me.

They have not yet got around to adding the server manager panel for it, so it's only configurable by db commands at this time.
There are lots more settings under the bonnet of sme7 that do not have a server manager panel.

db domains set internal.server.com domain Nameservers internet
db domains setprop internal.server.com ProxyPassTarget http://xxx.xxx.xxx.xxx/
db domains setprop internal.server.com TemplatePath ProxyPassVirtualHosts
signal-event domain-create internal.server.com

The old saco proxypass app is buggy and probably will never be developed further, as sme 7 has built in support for proxypass & a panel will be added later.
...

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #12 on: August 08, 2007, 10:43:40 PM »
Thanks again Ray for the info. If you have a look at the thread again, I think you will see that I didnt ask any questions. It was suggested as a solution

I have already read the threads on proxypass and it is my understanding this feature has its best uses for in situations where the pages are accessible from inside the network but not from outside the network and/or there is a different virtual domainname to the primary domain name. Of course I conceed that my understanding may not be right but...

My problem is quite simple, all the links refer http://domainname/oscommerce and I need them to refer to http:/server.domainname/oscommerce to progress. (or http://servername/oscomerce) I dont have any additional virtual domains on my system, the server I am trying this out on is simply a test server that sits on my network. I havent found it necessary to make any changes on my production server to accomodate other application running on the test server and I dont want to do it for this application.

Reconfiguring my test server so does have a virtual domainname may in fact be my solution, at the expense of other applications.

Thanks for your input.
Peter
...

Offline raem

  • *
  • 3,972
  • +4/-0
[Announce] osCommerce for SME 7.x
« Reply #13 on: August 09, 2007, 05:37:47 AM »
peter

I counted and you asked at least 3 questions, that's why I was answering.

Proxypass can be used for situations where you have a main gateway box that receives internal &/or external requests for valid domains configured on the gateway, but the web site for one (or more) of those domains is hosted on another box, either internal or external to your network.  
eg you may host the mail for the domain but not the web site.

As you have oscommerce on a second test server, then you could give that server a different domain name to your main domain.
Then configure proxypass to send requests to the second server.

Alternatively configure a hostname (server3 or whatever name preferred) in the main server hostname & addresses panel, which points to the IP of server3, and call that hostname up when accessing oscommerce. The problem is what you have experienced already, oscommerce is confgured with the same URL as your main domain, so internally oscommerce keeps calling your main server.
Within the config files of oscommerce is where you set the domain name that oscommere is using (usually set at install/first config time), so change that too. It must be a setting that will resolve on your network of course, and as your server2 is acting as gateway/DNS for the local network, that URL needs to be known to server2 eg as a proxypass entry or a hostname.
I'm assuming here that when you setup server3 you told it to use server2 as the gateway & DNS server (in Configure this server during initial setup).
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: [Announce] osCommerce for SME 7.x
« Reply #14 on: August 11, 2007, 08:17:27 PM »
Sylvain

Quote
I've made an rpm installation for osCommerce 2.2MS2 on SME 7.x


I see there is a new version released
oscommerce-2.2rc1
It appears to have the admin login module installed, so seperate password protection of the admin login is not required.

Perhaps you could update your contrib.

Thanks
Ray
...