oscommerce page redirect

I am trying to use oscommerce on opensuse 12.2 64 bit. If I install oscommerce in public_html it do not render the html pages properly. So I moved it to /srv/www/htdocs
Here it shows the catalog pages properly but I can not login. Whenever i go to localhost/oscommerce/catalog/admin using Firefox I get following error

The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.

Other browsers do not gives the very same error but they give error nearly the same. Oscommerce works very fine in ubuntu. It do not work in opensuse.Help.

I think it’s a permission issue. What are the permissions of the files in /srv/www/htdocs/ ?

By default the webuser and group are wwwrun and www. In your case a

su -c 'chown wwwrun:www /srv/www/htdocs/* -R'

should set them OK.

On 12/14/2012 01:26 PM, abhijitnavale wrote:
> Oscommerce works very fine in ubuntu. It do not work in
> opensuse.Help.

i guess you installed oscommerce using sudo instead of using “su -” (or
“su -c [command]”) and that is the foundation of your problem…

the differences between Ubuntu and openSUSE go deeper than just the way
the DE looks, some reading might be helpful:


and, once done you may need to reinstall correctly (or insure stuff got
where it is supposed to go in openSUSE [the where differences between
the two distros might also be a little problem, unless you fix that with

dd http://tinyurl.com/DD-Caveat