Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Error 500


TheTechDev

Recommended Posts

Hello, I am getting error 500 after the package unzips.

Any help would be greatly appreciated. If you need more information please ask, i did not know what all to say.

I am using Xampp with php 8 and apache 2.4

I followed this: https://wiki.oscommerce.com/index.php?title=Installing_osCommerce_v.4.0 and all extensions is enabled. 

See photos for issue. 

Screenshot_10.thumb.png.694dbc54a062ae0c7e94d311ce1d33dd.pngScreenshot_11.thumb.png.033e35026af07da2c77733cebc2b74da.pngScreenshot_12.thumb.png.f670ac0df9c0f9d56adc461d750ae380.png

Edited by TheTechDev
Link to comment
Share on other sites

Hello,

Try to comment out RedirectMatch rules in .htaccess files. Looks like you do not have Apache module mod_alias enabled:

# RedirectMatch 403 /\\.svn(/|$)
# RedirectMatch 403 /*\.sh($)
# RedirectMatch 403 /*\.log($)

And for security reason you can add Rewrite rules instead:

RewriteRule /*\.svn(/|$) - [F,L]
RewriteRule /*\.sh($) - [F,L]
RewriteRule /*\.log($) - [F,L]

Of course mod_rewrite should be enabled in the Apache configuration.

Link to comment
Share on other sites

9 hours ago, asandros said:

Hello,

Try to comment out RedirectMatch rules in .htaccess files. Looks like you do not have Apache module mod_alias enabled:


# RedirectMatch 403 /\\.svn(/|$)
# RedirectMatch 403 /*\.sh($)
# RedirectMatch 403 /*\.log($)

And for security reason you can add Rewrite rules instead:


RewriteRule /*\.svn(/|$) - [F,L]
RewriteRule /*\.sh($) - [F,L]
RewriteRule /*\.log($) - [F,L]

Of course mod_rewrite should be enabled in the Apache configuration.

Both the Mod Alias and mod_rewrite is enabled in httpd.conf

Link to comment
Share on other sites

Hello,

Please review osCommerce wiki article to check what minimal steps are required to configure server for osCommerce 4:

https://wiki.oscommerce.com/index.php?title=Installing_osCommerce_4_on_Dedicated_Server,_Cloud_Server_or_VPS

It's applicable for Debian 11 and Ubuntu 20.04

In fact these are really minimal steps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...