Zdoo ManualBook Info
1 About Zdoo
1.1  About Zdoo
1.2  Zdoo Features
1.3  Technical Support
1.4  Zdoo License
2 Install and Upgrade
2.1  ZDOO Installation (for all systems)
2.2  One-click Installation Package for Windows (Recommended)
2.3  One-click Installation Package for Linux
2.4  Upgrade Zdoo
2.5  Zdoo Cloud
2.6  Remove ranzhi from the address
2.7  Data Backup
2.8  Install Ioncube
2.9  Install php-zip
3 CRM
3.1  Basic Workflow
3.2  Add Product
3.3  Add Customer
3.4  Create Order
3.5  Sign Contract
3.6  Manage Contacts
3.7  Manage Lists
3.8  Manage Supplier
3.9  CRM Settings
3.10  CRM Reports
4 OA
4.1  Todo
4.2  Review
4.3  Announcement
4.4  Attendance
4.5  Leave
4.6  Makeup
4.7  Overtime
4.8  Business Trip
4.9  Reimbursement
4.10  Lieu
4.11  Egress
4.12  Holiday
4.13  Settings
5 Cashflow(Cash)
5.1  Introduction
5.2  Basic Settings
5.3  Add Bank Account
5.4  Manage Account
5.5  Keep Account
5.6  Batch keep accounts and import
5.7  Reconciliation
5.8  Report
6 Project (Proj)
6.1  Project Workflow
6.2  Create Project
6.3  Create Task
6.4  Actions in a project
6.5  Action Views
6.6  Actions in a task
7 Document(Doc)
7.1  Introduction
7.2  Create Document Library
7.3  Create Document
8 TEAM
8.1  Introduction
8.2  Settings
8.3  Modules
9 Flow
9.1  Introduction
9.2  Feature
9.3  Example
10 Administration
10.1  Settings
10.2  User
10.3  Privileges
10.4  Apps
10.5  Email settings
11 Integration
11.1  Introduction
11.2  Integrate ZenTao
12 Customization
12.1  Get Ready
12.2  Zdoo Directory
12.3  Find the Code
12.4  Database Structure

Remove ranzhi from the address

2019-08-09 10:31:23
Renee
380
Last edited by Renee on 2019-08-12 11:13:18

After you installed Zdoo following the steps, you will find there is 'ranzhi' in the URL. You might want to know how to remove it. That’s quite easy and follow the steps below.


1. Configure the one-click installation package

The configuration template for configuring the one-click installation package is offered. All you have to do is to turn on relevant parameters. Find xampp\apache\config\httpd.conf and xampp\runner\res\apache\conf\httpd.conf in Windows or /opt/zbox/etc/apache/httpd.conf in Linux. If use Lampp in Linux, find /opt/lampp/etc/httpd.conf.


Go to those files and change the configuration for VirtualHost. Delete the comment and restart Apache.


# If you want visit ranzhi like http://localhost/, uncomment these lines.
#<VirtualHost *:81>
#  ServerAdmin ranzhi@local.net
#  DocumentRoot "/xampp/ranzhi/www"
#  ServerName localhost:81
#  <Directory />
#    AllowOverride none
#    Require all granted
#  </Directory>
#  ErrorLog "logs/error_log"
#  CustomLog "logs/access_log" combind
#</VirtualHost>



2. General configuration

If you configure your own Apache, you can refer to the steps below to do it.

2.1 Find the Apache configuration file. For Windows, it is in  apache/conf. For Linux, it is in  /etc/apache or /etc/httpd.

2.2 Find the configuration file for the VirtualHost. It is either in httpd-vhost.conf or httpd.conf.

2.3 Change the code in the file as shown below.


<VirtualHost *:80>
ServerName pms.ranzhi.net # Change it to your domain name.
DocumentRoot /home/www/ranzhi/www/ # Change it to the actual www directory you use in /ranzhi/.
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>  
</VirtualHost>


2.4 Find  ranzhi/config/my.php.  If it is set as $config->webRoot = getWebRoot(), skip this step. If not, change it to

$config->webRoot = '/'; 


2.5 Restart Apache.



Write a Comment
Comment will be posted after it is reviewed.