Answer the question
In order to leave comments, you need to log in
How to make xampp and .htaccess work?
Hello. There is an opencart store. 20 thousand goods ... you need to upload feeds for the Yandex market and Google, on the Wirth host it naturally falls off by timeout. I want to unload xml on locale.
I installed xampp, launched the site, but along the path localhost/bi.ru/index.php?route=feed/yandex_market it redirects
to the default xampp page localhost/dashboard
As I understand it, .htaccess does not work
. Google did everything:
в httpd-vhosts.conf
<VirtualHost bi.ru:80>
# rest of the stuff
<Directory "D:\PF\xampp\htdocs\bi.ru">
AllowOverride All
require local granted
</Directory>
</VirtualHost>
RewriteBase /
RewriteRule ^yandexbuy/([^?]*)$ index.php?route=yandexbuy/$1 [L,QSA]
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question