Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Point my default location to a subdirectory (1 reply)

$
0
0
Hey there,

I've made my WAMP installation accessible on my local network. Other devices can navigate to 192.168.178.185/wordpress to see my project.

However, I would like other devices to access my project by simply navigating to 192.168.178.185 without specifying the subdirectory.

How can I set this up? Should I use a port (something like 192.168.178.185:8080) for this? How does that work?

My current vhosts.conf looks like this:

# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

#
<VirtualHost *:80>
ServerName wordpress
DocumentRoot "c:/wamp64/www/wordpress"
</VirtualHost>

<Directory "c:/wamp64/www/wordpress/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require ip 192.168.178
</Directory>

Thanks guys

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>