I'm trying to access my WAMP webserver (3.1.4) over the internet, and I am receiving permission errors even after going through every answered question on the topic on stack exchange.
WAMP is set to "online" and is green. I can access my server on my host computer and see everyone of my web pages fine. I can even view and navigate the website fine using the domain name, so that isn't the issue.
My firewall has inbound connection on the listening port open, and my router has port forwarding enabled for the port as well.
I have granted all permissions in httpd-vhosts.conf:
# Virtual Hosts
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName example
DocumentRoot "c:/wamp64/www/example"
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteCond $1 ^(index\.php)?$ [OR]
RewriteCond $1 \.(gif|jpg|png|ico|css|js)$ [NC,OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)$ - [S=1]
RewriteRule . /index.php [L]
</IfModule>
# END wordpress
<Directory "c:/wamp64/www/example/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
I have granted all permissions in httpd.conf:
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +FollowSymLinks +Multiviews
AllowOverride all
# onlineoffline tag - don't remove
Require all granted
</Directory>
I have granted all permissions in phpmyadmin.conf:
Alias /phpmyadmin "c:/wamp64/apps/phpmyadmin4.8.3/"
<Directory "c:/wamp64/apps/phpmyadmin4.8.3/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride all
<ifDefine APACHE24>
Require all granted
</ifDefine>
<ifDefine !APACHE24>
Order Deny,Allow
Allow from all
Allow from ::1
</ifDefine>
# To import big file you can increase values
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>
I have granted all permissions in the hosts file:
127.0.0.1 localhost
::1 localhost
127.0.0.1 example.com
::1 example.com
EDIT
I forgot to show an additional setting in httpd.conf:
# Virtual hosts
Include conf/extra/httpd-vhosts.conf