Jump to content

JohnPlemons

Member
  • Posts

    1
  • Joined

  • Last visited

JohnPlemons's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • Reacting Well Rare
  • Conversation Starter

Recent Badges

0

Reputation

  1. I was having an issue where I am getting the page not found error when i click on any link on my home page.. So I elected to build a new machine with a standard box stock installation of 2 different versions of Red Hat Enterprise 9.3, Rocky Linux 9.3 and Alma Linux 9.3 I have 2 machines working with a brand new installs of CubeCart 6.5.3 the current download, one the Rocky Linux Version has PHP 8.1, the other Alma Linux has PHP 8.2 loaded. The admin pages work as they should all links take you where you want to go, need to go. But any link from the main site page returns a 404 Page Not found from any link that is clicked on. I'm sure there is a simple fix for this, but I'm not seeing it. both machines have fresh vanilla stock installations of one of the Red Hat clones version 9.3 The sites are https://test.mavin.com and https://replace.mavin.com I have not installed security certificates yet so you will get a not secure warning as you go the pages. Like I said these are brabnd new instalations and did not want to do the extra work if I can't get CubeCart working correctly first. secure To give you a bit of background, we are migrating away from Squirrelcart, and similar piece of software we have used for about 20 years. The problem there is that the main person writing code and keeping the features up to date is no longer involved. So it is dead software, and time to move away from it. Our main website is https://www.mavin.com just so you know I'm a real person and not some scammer trying to spread malware to your machine. If anyone has any wisdom to give share it would be very helpful, I'm not affraid of doing the work, it is just that documentation is limited. Although I am a newby to CubeCart, I am comfortable working with Linux of the RedHat flavor. I really like CubCart, and don't want to abandon it for something else, it is easy to maintain and setup much better than Zen,r Open Cart, or Plexacart, I've played with all of those and a few more as well. My best guess is that is something in the configuration or Apache, which is version 2.4.57 or maybe something in the .htaccess that needs to be tweaked. The installations of CubeCart went flawlessly without Hiccup or glitches. Database is MariaDB version 10.5.22, happy to answer any question you may have, or to share any files you might want.. I will attach the httpd.conf file, and the .htaccess files to this post..httpd.confhttpd.conf Getting upload errors for the files.. Here is the htaccess paste. ##### START CubeCart .htaccess ##### ### GZIP Compression ### <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </ifmodule> ### Files Expiration ### <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access 0 seconds" ExpiresDefault "access 7 days" </IfModule> ### File Security ### <FilesMatch "\.(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> ### Apache directory listing rules ### DirectoryIndex index.php index.htm index.html IndexIgnore * <ifModule mod_headers.c> Header always append X-Frame-Options SAMEORIGIN </ifModule> ### Rewrite rules for SEO functionality ### <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / ##### START v4 SEO URL BACKWARD COMPATIBILITY ##### RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L] ##### END v4 SEO URL BACKWARD COMPATIBILITY ##### RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)?$ index.php?seo_path=$1 [L,QSA] </IfModule> ### Default store 404 page ### ErrorDocument 404 /index.php ## Override default 404 error document for missing page resources ## <FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg|webp)$"> ErrorDocument 404 "<html></html> end paste
×
×
  • Create New...