.htaccess - Xampp 3.2.1 local copy of site 404ing on everypage apart from homepage -
i have copied site down live (works fine) on local machine. locally can view homepage of site, if try , visit page keep getting 404's. here vhosts setup: <virtualhost *:80> documentroot "c:\users\sony\documents\websites\website.com" servername local.website.com <directory "c:\users\sony\documents\websites\website.com"> order allow,deny allow require granted </directory> </virtualhost> anyone have idea why happening? seems happen latest version of xampp , on urls have been rewritten. in case interested here htaccess file: errordocument 404 /404.php rewriteengine on rewritebase / # remove www host rewritecond %{http_host} ^www\.(.+) rewritecond %{https}s/%1 ^(on(s)|offs)/(.+) rewriterule ^ http%2://%3%{request_uri} [l,r=301] # remove trailing slash rewriterule ^(.*)\/(\?.*)?$ $1$2 [r=301,l] # don't match real existing files css, scripts, images aren't rewritten rewritecond %{request_fil...