Software >> Services >> HTTP Server >> Apache >> How to add configuration for virtual directory
This example is based on the following
1. edit c:\xampp\apache\conf\httpd.conf and add the following at the bottom of the file # Virtual directory settings 2. ensure that the following is present and not commented LoadModule alias_module modules/mod_alias.so 3. edit c:\xampp\apache\conf\extra\httpd-virtualdir.conf and add the following to create the virtualdir /abc <IfModule alias_module> Alias /abc "c:/someparentdir/somedir" <Directory "c:/someparentdir/somedir"> </IfModule>
|