After the deployment of Zen Road according to our installation steps, there will be zentao and other paths in the access path, there must be friends ask, how to remove it? Actually very simple, let's configure it together.
One, the configuration of the Windows one-click installation package
Our latest version of the one-click installation package has already provided the corresponding configuration template, all you need to do is to open the corresponding parameters:
Under Windows, locate the xampp\apache\config\httpd.conf file, and the Linux one-click installation package finds the/opt/lampp/etc/httpd.conf file.
Locate the Virutalhost configuration, delete the comments, and then restart Apache.
Second, the general configuration method
If you are the Apache server you have configured, you can refer to the following steps to modify it.
1, find the Apache configuration file, different system, its configuration file location is different. Windows is generally below apache/conf. Linux is generally under/etc/apache or/ETC/HTTPD.
2. Locate the virtual host configuration file. Some Apache is a separate httpd-vhost.conf. Some are written directly in the httpd.conf.
3. After locating the virtual host configuration file, configure the following code:
4, find the zentao/config/my.php file, if the inside of $config->webroot = Getwebroot (), then ignore this step. If not, you need to change it to:
5. Restart Apache.
NO 157 Remove the Zentao from the Zen channel access address