Unable to view certain files after store moved to root directory
Wasn't sure if I should start a new thread on this or not, but I did run into a new issue now that I've moved the store into the root.
None of the files originally located in the root can be viewed now without causing a Page Not Found error. We had multiple share and reference files that we gave our customers access to that need to be able to get to these areas. Anyone know of a fix or a reference I can look at to correct this? |
Re: Unable to view certain files after store moved to root directory
What is the URL that should download a file, but gives the 404 Not Found error instead?
What is the sever path to the file and what is the server path to the directory with X-Cart 5? What are file permissions set for the file? What is in your "[host_details]" section in the [xc5]/etc/config.php file? |
Re: Unable to view certain files after store moved to root directory
Quote:
http_host = "www.advancedgraphicsinc.com" https_host = "www.advancedgraphicsinc.com" web_dir = "" domains = "" admin_self = "admin.php" cart_self = "cart.php" All of the files are in their own directories under the root. XC5 was moved from a directory into the root, it was originally under /shop So it went from www.advancedgraphicsinc.com/shop to www.advancedgraphicsinc.com Any directory that was already under the root, such as the ones below, act as if they're part of the store: You can go to www.advancedgraphicsinc.com/ace or to www.advancedgraphicsinc.com/wholesale or to www.advancedgraphicsinc.com/walmart With one exception. Our other XC store (which is XC 4) is working fine and seems unaffected, is under /store: www.advancedgraphicsinc.com/store |
Re: Unable to view certain files after store moved to root directory
Ah, this is probably due to X-Cart's rewrite rules in .htaccess.
For each of those directories, what is the directory index? index.html? index.php? Add this indexes into your .htaccess file and it should work fine. |
Re: Unable to view certain files after store moved to root directory
I believe I just saw a support ticket for that issue.
Yes, the problem is that DirectoryIndex directives are missing in .htaccess'es. |
All times are GMT -8. The time now is 02:13 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.