Jump to content


Corporate Sponsors


Latest News: (loading..)

osCommerce on Nginx


  • You cannot reply to this topic
4 replies to this topic

#1 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 02 December 2011, 15:07

I want to use osC using Nginx as the webserver. As I don't have much knowledge in anything related to web development, I would like to ask if osC uses any Apache-specific features that I may need to convert to Nginx settings to make it run (like .htaccess). Or will osC run with out-of-the-box Nginx (with PHP enabled, of course)?

#2 kymation

  • Community Sponsor
  • 5,662 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 02 December 2011, 19:05

Basic osCommerce uses .htaccess files for directory protection. It will run without the .htaccess files, but you may be vulnerable to hacking unless you can use an acceptable equivalent. Some Addons (such as URL rewriters) require .htaccess to run.

Regards
Jim
My Addons

Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#3 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 02 December 2011, 21:03

Am I to understand there are no obstacles other than the .htacess files?

#4 kymation

  • Community Sponsor
  • 5,662 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 02 December 2011, 21:08

Provided that PHP and MySQL are included and working, I see no reason why it would not work. However, I am not familiar with Nginx and have not tested this, so there may be hidden problems that I am unaware of.

Regards
Jim
My Addons

Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#5 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 03 December 2011, 05:43

That is what I think as well. However, this thread is meant to clarify that osC does not use any Apache-specific configuration.