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:
<VirtualHost *:80>
ServerName ronvanderwerf.loc
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
My root htaccess file:
<IfModule mod_rewrite.c>
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.
ronvanderwerf.loc/index.php?p=admin
?ronvanderwerf.loc/index.php?p=admin