JackP Posted April 3, 2016 Share Posted April 3, 2016 I decided I wanted to be able to run CubeCart on my local laptop so I could do code changes without impacting my current install as well as not have to FTP changes to test them. I followed the instructions here: https://support.cubecart.com/Knowledgebase/Article/View/216/42/how-do-i-move-my-cubecart-store-from-one-hosting-account-to-another to create a copy on my local server (windows, apache, php, my sql) as well as copy the database. After getting some issues resolved, I'm able to get the home page and admin to come up. The admin seems to work ok, although it seems a little slow but not unreasonable. However, anytime I try to look at a product, I get a 404 error. I also get a 404 error on on clicking on About Us, Return Policy, etc. Is there some setting that you have to refresh/renable to get these to work? Thanks. Jack Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 3, 2016 Share Posted April 3, 2016 A 404 error is almost always when the WEB SERVER has not had it's configuration set to do URL Rewrites. Apache requires a "mod_rewrite" module be installed and loaded. In Apache's httpd.conf file, there will be a statement:LoadModule rewrite_module modules/mod_rewrite.so Then, also: <Directory "E:/Apache/wwwroot"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> CubeCart should have already made the appropriate declarations in the .htaccess file in CubeCart's main folder. Quote Link to comment Share on other sites More sharing options...
JackP Posted April 4, 2016 Author Share Posted April 4, 2016 Thank you. That worked like a charm. How do you know all this stuff? I'd been looking at the Apache file all day trying to see if something was amiss Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 4, 2016 Share Posted April 4, 2016 "How do you know all this stuff?" I went to school. It's name is "Hard Knocks Univ". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.