XF 1.5 Move xenforo from root to subdirectory

Now Xenforo is in the root directory of mysite.com. I need to put Drupal in the root directory, and move Xenforo to the mysite.com/forum folder.
If I put xenforo in the directory /var/www/forum
And create the file /etc/apache2/conf-enabled/forum.conf as follows:
Alias /forum /var/www/forum
Is this a good solution? What is the best way to do this?


Well-known member
Just create a new directory called forum, move the xenforo files (including .htaccess) up into that directory. And go to admin.php to set the board options to the subdirectory.

Then install drupal.

Not sure why you have to make an alias?
Alias only for the convenience of its location in the file system. File robot.txt created by xenforo in mysite.com/forum should I merge with the robot.txt file in the root directory created by Drupal?