Koozali.org: home of the SME Server

Post subject: osCommerce ok local not working external (web)

Anonymous

Post subject: osCommerce ok local not working external (web)
« on: April 20, 2004, 09:00:35 PM »
Hi All


Installed OSC in

/home/e-smith/files/ibays/store/html/catalog

Locally I can get to it.

When I htt://www.mydomain.com it takes me to........

Index of /

Name Last modified Size Description
-----------------------------------------------
Parent Directory 05-Apr-2004 01:35 -
catalog/ 20-Apr-2004 14:17 -
-----------------------------------------------

and not into catalog/

If I click on catalog/ I then get OSC index.php

Thanks for all the help.

gbaird

you answered it yourself
« Reply #1 on: April 21, 2004, 12:15:19 AM »
hello

look at where it is installed

/home/e-smith/files/ibays/store/html/catalog

so you need to go to

http://your-server/store/catalog note the location

store is the ibay
the html folder is normal
then the catalog folder is in the html folder

try this osCommerce it is for version 6 and above of sme

http://www.eelriver.com/sme/e-smith-osCommerce-sme6x-2.0-04.noarch.rpm

it installs to
http://your-server/catalog

hope this helps

Offline electroman00

  • *****
  • 491
  • +0/-0
Post subject: osCommerce ok local not working external (web)
« Reply #2 on: April 21, 2004, 01:53:05 AM »
gbaird thanks for the reply

Your right it is installed at

/home/e-smith/files/ibays/store/html/catalog

and if you goto to catalog dir then it finds index.php.

The problem I'm having is that when I goto www.domain.com without /catalog qualifying the url
I get dumped at

/home/e-smith/files/ibays/store/html

and not

/home/e-smith/files/ibays/store/html/catalog

My registrar is pionting to an IP address

which pionts to my  www.domain.com

It is not forwarded like this

www.domain.com/catalog

I think I have to change the httpd.conf for the ibay

so it points to

/home/e-smith/files/ibays/store/html/catalog

not

/home/e-smith/files/ibays/store/html

like it is.

I hope explained it a little better.

I think I have to change a template and I'm not sure just howto at this point.

Also sorry for posting the previous post three times

I kept clicking on reply instead of new post.

Thanks for the help

Anonymous

store setup
« Reply #3 on: April 21, 2004, 02:11:40 AM »
hello

you have a couple of ways to fix it

1 make a lead-in page at www.domain.com tell people what a nice guy you are and a link to your store from there

2 change your apache web server config file to redirect people to your store

the # 1 way is easy and you can put a little info about you or your store there

3 you can also set your primary website to go to an ibay
look at the domain setup screen for domain.com and you can simply change store ibay in the content boxjavascript:emoticon(':idea:')

# 3 is the easiest fix

hope this helps

gbaird

revised howto
« Reply #4 on: April 21, 2004, 02:14:28 AM »
hello

you have a couple of ways to fix it

1 make a lead-in page at www.domain.com tell people what a nice guy you are and a link to your store from there

2 change your apache web server config file to redirect people to your store

the # 1 way is easy and you can put a little info about you or your store there

3 <b>you can also set your primary website to go to an ibay
look at the domain setup screen for domain.com and you can simply change store ibay in the content box</b>

# 3 is the easiest fix and lets you use the needed scripting

hope this helps[/b]

Offline electroman00

  • *****
  • 491
  • +0/-0
Post subject: osCommerce ok local not working external (web)
« Reply #5 on: April 21, 2004, 02:35:17 AM »
Yea I thought about those to but would like to have it point right at the store ibay.  :-)

Is there something that makes this change a bad idea? :roll:

gbaird

your domain service
« Reply #6 on: April 21, 2004, 04:24:28 PM »
Hello

You will not get your dns to point to the store folder
they only setup domain hostnames

domain.com or www.domain.com or ftp.domain.com

your best bet is to use the content link in the server-manager
domain page there is nothing wrong with that no loss of performance or anything

my domain eelriver.com & eelriver-networks use this method

sme has no virtual directory setup like iis you would have to hand hack the apache templates

last option

you can move all the store files to your Primary/html folder and edit the osCommerce config files or just do a new install in that folder LOT EASIER TO JUST USE THE CONTENT BOX TO MAKE THE POINT TO THE STORE IBAY

hope this clears up your dns thoughts

Offline electroman00

  • *****
  • 491
  • +0/-0
Post subject: osCommerce ok local not working external (web)
« Reply #7 on: April 21, 2004, 09:48:39 PM »
gbaird

What I did was to move OSC up one directory and
take catalog out of it. Then reset the config's.

There was info on the inet that showed howto.

From what I have read OSC can locate just about anywhere you want.

On a sme box /ibay/html seems to be a better place
to park it.
So far it's working and haven't had a problem.

Thanks for all your help

Offline electroman00

  • *****
  • 491
  • +0/-0
Post subject: osCommerce ok local not working external (web)
« Reply #8 on: April 21, 2004, 10:23:17 PM »
Quote
your best bet is to use the content link in the server-manager


Yea that's the problem, the content link doesn't
allow you to sellect a directory, it just select's

/ibay/content/html

and not

/ibay/content/html/catalog

/ibay/content/html/index.php is where the sme domain is pointing to and OSC is at

/ibay/content/html/catalog/index.php

I wanted to change the sme domain to point to
/ibay/content/html/catalog/index.php
which is what is needed if the registra is pointing at
your IP address and not using a URL redirect.

I just didn't know how to change it.

If someone know's howto that would be great!

Have a good day......