Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

https error-file not found


newtech

Recommended Posts

Posted

I am moving a store to a new server. I have copied and pasted all files to the new server. I have changed the config settings for the server. I have moved the database over.

 

The original store on the original server was located at /var/www/public_html/ntwow/html/ (the root)

The store on the new server is located at var/www/public_html/ntwow/html/store.

 

I am using administrator contrib.

 

When I try to access the admin control panel I am getting page not found.

When I go to http://www.mydomain.com/store/admin the browser redirects to URL https://www.mydomain.com/store/admin which comes up as a 'page not found'.

 

I then tested https://www.mydomain.com/store/images and also get 'page not found'.

So the issues is not the administrator contrib.

 

I then tried https://www.mydomain.com/images and I get a listing of the images directory.

 

So the issue is related to when I go to https pages within the store folder.

 

What could be causing this?

Posted

I am moving a store to a new server. I have copied and pasted all files to the new server. I have changed the config settings for the server. I have moved the database over.

 

The original store on the original server was located at /var/www/public_html/ntwow/html/ (the root)

The store on the new server is located at var/www/public_html/ntwow/html/store.

 

I am using administrator contrib.

 

When I try to access the admin control panel I am getting page not found.

When I go to http://www.mydomain.com/store/admin the browser redirects to URL https://www.mydomain.com/store/admin which comes up as a 'page not found'.

 

I then tested https://www.mydomain.com/store/images and also get 'page not found'.

So the issues is not the administrator contrib.

 

I then tried https://www.mydomain.com/images and I get a listing of the images directory.

 

So the issue is related to when I go to https pages within the store folder.

 

What could be causing this?

Probably the configuration files. If we could see the top ten of each we may notice something for you. And please don't mung the domain name unless you feel you have to...

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

I do not give true URL because it is just letting hackers know a site they can hit.

 

I was able to get admin page to open (problem with SSL certificate).

 

However, when I log into admin and click any of the links in the control panel, the browser gets redirected to the login.php page and I have to log in again. Once I log in and click a link in the control panel the cycle starts all over again.

Posted

However, when I log into admin and click any of the links in the control panel, the browser gets redirected to the login.php page and I have to log in again. Once I log in and click a link in the control panel the cycle starts all over again.

 

I found the problem.

define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com/');

 

Should be:

define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...