Can't access admin panel It's the first time I'm using Wamp for local hosting my Craft website.
I've changed my Windows and Wamp apache host file for accessing my domainname instead of localhost. (ronvanderwerf.loc instead of localhost)

The front-end of the website looks fine:


(I'm getting a error because I still need to setup Craft)

The problem is, I can't access the admin panel. I get a 404 Not Found.

I've changed the directory order of my project for some hosting reasons:



My apache host file:

&lt;VirtualHost *:80&gt;
ServerName ronvanderwerf.loc
DocumentRoot c:/wamp64/www
&lt;Directory  "c:/wamp64/www/"&gt;
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
&lt;/Directory&gt;




My root htaccess file:

&lt;IfModule mod_rewrite.c&gt;
RewriteBase /

# Send would-be 404 requests to Craft
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
RewriteRule (.+) index.php?p=$1 [QSA,L]




I hope someone can help me.
I had the same issue on my mac and struggled for hours.

Having the right .htaccess file in place was key, but if you are not getting Craft's error messages, that's a sign your .htaccess file is not having any effect (you can verify this by placing some random text in there and see if you get an internal server error or not).

Making the following changes to httpd.conf made .htaccess work and solved this issue for me: 


Change from "AllowOverride None" to AllowOverride All" in the
document root directory block
Uncomment LoadModule rewrite_module...


I hope this helps someone solve this quicker than I did.