Wamp server v-host config for local network access

Spread the love

This is an example for accessing a path on server from local network. Could be useful if you just want to list files and download them on any device from server.

<VirtualHost *:9091>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "E:/"
  <Directory "E:/">
    Options Indexes MultiViews
    AllowOverride None
    Require ip

Now just enter the IP and port of the server in browser e.g., and you will presented with the list of files in the E:/ directory.

Cheers and Peace out!!!