| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Unable to view certain files after store moved to root directory | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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? |
|||||||
#2
|
|||||||||
|
|||||||||
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?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
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 |
|||||||
#4
|
|||||||||
|
|||||||||
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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#5
|
|||||||||
|
|||||||||
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.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
|
|||
X-Cart forums © 2001-2020
|