Apache Virtual Host and alias configuration, apache Virtual Host alias
Add a listening port to the Apache VM configuration (modify the conf/httpd. conf file)
Listen 127.0.0.1:8092
Modify the master site permissions (modify the conf/httpd. conf file)
<Directory /> AllowOverride none # Require all denied</Directory>
Allow virtual host configuration (modify the conf/httpd. conf file)
# Virtual hostsInclude conf/extra/httpd-vhosts.conf
Add virtual host configuration (modify conf/extra/httpd-vhosts.conf files)
<VirtualHost *:8092> ServerAdmin webmaster@dummy-host.localhost DocumentRoot "D:/Work/SourceCode" ServerName localhost <Directory "D:/Work/SourceCode"> Options Indexes FollowSymLinks AllowOverride all Order allow,deny Allow from all </Directory> </VirtualHost>
Add alias Configuration
<IfModule alias_module> Alias /eft "D:/Work/myspace"</IfModule>
Note that you can open the following project:
LoadModule rewrite_module modules/mod_rewrite.so in the php. ini file, short_open_tag = On enables xdebug (required by the development environment) xdebug. remote_enable = on