I am sure there is an easy solution to this that i am missing.
Installed Wamp today, read all docs in the forum and all working no problems on Win 10.
I am using this as a local server to preview websites.
All sites work on localhost.
BUT I get no images from the site named PROD
Directory structure is same for all sites \sites\sitename\images\
Live site PROD delivers images fine.
Localhost only shows placemarkers and if I "open in new tab" with chrome i get "You don't have permission to access /images/image.jpg on this server."
httpd-vhosts.conf
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot X:/wamp64/www
<Directory "X:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName buddy
DocumentRoot "x:/wamp64/sites/dive buddy"
<Directory "x:/wamp64/sites/dive buddy/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName prod
DocumentRoot "x:/wamp64/sites/prod"
<Directory "x:/wamp64/sites/prod/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName midlands
DocumentRoot "x:/wamp64/sites/midlands"
<Directory "x:/wamp64/sites/midlands/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName newb
DocumentRoot "x:/wamp64/sites/newb"
<Directory "x:/wamp64/sites/newb/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName sam
DocumentRoot "x:/wamp64/sites/sam"
<Directory "x:/wamp64/sites/sam/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
I have made no changes to configuration files.
Plenty of conflicting stuff on the web.
Could anyone give me some pointers please.
Installed Wamp today, read all docs in the forum and all working no problems on Win 10.
I am using this as a local server to preview websites.
All sites work on localhost.
BUT I get no images from the site named PROD
Directory structure is same for all sites \sites\sitename\images\
Live site PROD delivers images fine.
Localhost only shows placemarkers and if I "open in new tab" with chrome i get "You don't have permission to access /images/image.jpg on this server."
httpd-vhosts.conf
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot X:/wamp64/www
<Directory "X:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName buddy
DocumentRoot "x:/wamp64/sites/dive buddy"
<Directory "x:/wamp64/sites/dive buddy/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName prod
DocumentRoot "x:/wamp64/sites/prod"
<Directory "x:/wamp64/sites/prod/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName midlands
DocumentRoot "x:/wamp64/sites/midlands"
<Directory "x:/wamp64/sites/midlands/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName newb
DocumentRoot "x:/wamp64/sites/newb"
<Directory "x:/wamp64/sites/newb/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName sam
DocumentRoot "x:/wamp64/sites/sam"
<Directory "x:/wamp64/sites/sam/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
I have made no changes to configuration files.
Plenty of conflicting stuff on the web.
Could anyone give me some pointers please.