Hopefully a quick question that I cant find any answer to. I've set up a virtual host in wamp successfully on port 8080 (since iis has occupied 80) but all resources and folders my site location still tries to access through port 80.
This my setup (following guide http://forum.wampserver.com/read.php?2,127757)
in httpd-vhost.conf
<VirtualHost *:8080>
DocumentRoot "C:/dev/frontend"
ServerName test.local
ServerAlias *.test.local
<Directory "C:/dev/frontend">
AllowOverride All
Require all granted
</Directory>
php_flag display_errors Off
php_flag log_errors On
php_value max_upload_size 40M
php_value max_execution_time 120
php_value error_log "C:/wamp/logs/example_com_phperror.log"
</VirtualHost>
<VirtualHost *:8080>
ServerName localhost
ServerAlias localhost
DocumentRoot "C:/wamp/www"
ErrorLog "logs/errors.log"
<Directory "C:/wamp/www">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from all
</Directory>
</VirtualHost>
Syntax running oki in the httpd -t
check in the bin folder. In my httpd.conf its also set to Listen on port 8080.
My host file should also be setup right:
127.0.0.1 test.local
::1 test.local
But sub folders and assets are still going to the wrong port:
http://test.local:80/assets/css/bootstrap.css
C:\inetpub\wwwroot\assets\css\bootstrap.css
So what am I missing?