About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
configuration:using_vufind_as_the_site_root

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
configuration:using_vufind_as_the_site_root [2018/12/19 17:07] demiankatzconfiguration:using_vufind_as_the_site_root [2020/02/24 14:09] demiankatz
Line 19: Line 19:
 </VirtualHost> </VirtualHost>
 </code> </code>
 +
 +===== ...if you have already installed VuFind =====
 +
 +Even if you have already installed VuFind, you should be able to change it to run as the site root fairly easily. Just follow these steps:
 +
 +  - In the $VUFIND_HOME directory, run "php install.php" and run through the installer's questions. Use "/" as the path, and answer the other questions the same as before (use defaults if you are unsure). This will rewrite VuFind's Apache configuration file, and after you restart the Apache service, the changes should take effect. The install.php script will make a backup of your previous configuration (in $VUFIND_LOCAL_DIR, with a date/time-based file extension), so if you need to revert your changes, or if you wish to compare the new configuration against the old one to be sure you answered all the questions correctly, you can easily do so.
 +  - As noted above, you should update the url setting in the [Site] section of your local config.ini file.
 +  - As noted above, you may need to create an Apache VirtualHost for VuFind, or if you already have one, you may need to explicitly set the DocumentRoot to $VUFIND_HOME/public to ensure that Apache loads the appropriate content at the site root.
 ---- struct data ---- ---- struct data ----
 ---- ----
  
configuration/using_vufind_as_the_site_root.txt · Last modified: 2020/02/24 14:14 by demiankatz