Redirect Apache Wamp website main page to another subfolder
My Wamp Version
Version : Wamp 3.14
Apache version : 2.4.35
Just Edit Code httpd-vhost.conf where add Redirect / https://yourrwesite.co.in/subfolder as shown below,
D:\wamp64\bin\apache\apache2.4.35\conf\extra\httpd-vhosts.conf
# Virtual Hosts
#
<VirtualHost *:80>
ServerName yourrwesite.co.in
ServerAlias yourrwesite.co.in
Redirect / https://yourrwesite.co.in/subfolder
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
No comments