I am searching the net for hours now trying to find a solution to my problem, found tutorials and forums posts but can't solve my problem.
windows 7, WAMP 2.2 (apache 2.4.2)
Trying to set up a virtual host outside of the wamp directory getting the error:
You don't have permission to access / on this server.
What I have now:
In my httpd-vhosts.conf file, under:
<VirtualHost *:80> DocumentRoot "C:/sites/highland" ServerName highland.local Options Indexes FollowSymLinks </VirtualHost>
In my httpd.conf file:
DocumentRoot "c:/wamp/www/" <Directory "c:/wamp/www/"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # # Online --> Require all granted # onlineoffline tag - don't remove Require local </Directory> DocumentRoot "c:/sites/" <Directory "c:/sites/"> AllowOverride All Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory>
In my hosts file:
What am I doing wrong?