htaccess DirectoryIndex cart.php
by default, after install v5.1, the htaccess file with following command.
Options -Indexes DirectoryIndex cart.php FileETag none If I did not delete the "DirectoryIndex cart.php", then type blog.xxx.com.my will get access denied. is there any problems or security issued by remove this statement ? any other alternative way to do it ? |
Re: htaccess DirectoryIndex cart.php
"DirectoryIndex cart.php" makes the server to load the X-Cart's front controller when a visitor opens your domain - this should not trigger any error unless you have some specific server setup.
What is blog.xxx.com.my? Would you like to install Wordpress to this subdomain, and keep X-Cart installed at xxx.com.my? If so, the server should route these domains into different web directories on the server. |
Re: htaccess DirectoryIndex cart.php
I install my wordpress in Subdomains.
I confirm that, if "DirectoryIndex cart.php" in htaccess is not remove, when I try to access blog.xxx.com.my will get 403 Forbidden error. |
Re: htaccess DirectoryIndex cart.php
Are X-Cart and Wordpress installed into different directories on the server? I guess so.
Is your server configured to route www.* domain to the directory with X-Cart, and blog.* domain to the directory with Wordpress? If so, .htaccess from the X-Cart's directory should not affect the Wordpress installation (so, it may be a server misconfiguration problem). |
All times are GMT -8. The time now is 02:36 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.