Hi there,
I want to youse WAMP within our Network for serving some informations.
It's working fine when I use my Win10 Workstation - but when I try to access the virtual host from another Workstation within our network, I've a problem with linking to css and/or js files.
E.G.:
When I open a site locally (on that Workstation where WAMP is running) a link is like this:
http:// reports/assets/components/bootstrap_4.1/js/bootstrap.min.js
(made the spaces between http:// and url for a better overview)
When I open the same site from another Workstation the same link looks like that:
http:// 192.168.1.21/assets/components/bootstrap_4.1/js/bootstrap.min.js
My httpd-vhosts.conf:
<VirtualHost *:80>
ServerName reports
ServerAlias reports
DocumentRoot "c:/wamp64/www/reports"
<Directory "c:/wamp64/www/reports/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
I'm searching the internet since a few days - but I don't find a solution :(
...what can I do?
What do I wrong?
Thanks for your help!
I want to youse WAMP within our Network for serving some informations.
It's working fine when I use my Win10 Workstation - but when I try to access the virtual host from another Workstation within our network, I've a problem with linking to css and/or js files.
E.G.:
When I open a site locally (on that Workstation where WAMP is running) a link is like this:
http:// reports/assets/components/bootstrap_4.1/js/bootstrap.min.js
(made the spaces between http:// and url for a better overview)
When I open the same site from another Workstation the same link looks like that:
http:// 192.168.1.21/assets/components/bootstrap_4.1/js/bootstrap.min.js
My httpd-vhosts.conf:
<VirtualHost *:80>
ServerName reports
ServerAlias reports
DocumentRoot "c:/wamp64/www/reports"
<Directory "c:/wamp64/www/reports/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
I'm searching the internet since a few days - but I don't find a solution :(
...what can I do?
What do I wrong?
Thanks for your help!