Posted by:
mymage
(---.117-80-r.retail.telecomitalia.it)
I apologize for have made you waste time and I write here the solution for any other distracted people like me.
After installing WAMP, I copied the files locally from a production site and tried to access the test with localhost/testsite, but the browser went redirected to [
localhost]. I spent a lot of time looking for WAMP confguration thinking the problem was on virtual host or alias.
Following the first steps of "The need for Virtual Host" I activated the virtual host with "Include conf/extra/httpd-vhosts.conf" on httpd.conf, checked the httpd-vhosts.conf and created a "c:/wamp64/www/test " dir with an index.html Hello World, and it worked!
So I take a look to the production files and found an .htaccess file with the command "RewriteRule (.*) [
]%{HTTP_HOST}%{REQUEST_URI}".
cit. Experience is a sum of errors
Edited 1 time(s). Last edit at 12/11/2018 12:42PM by mymage.