Pages: 1
Hello/Hi/Greetings,
Following the default instructions, I created a Piwigo site. No issues :)
However, it would suit my needs much better to have the site as the root website (http://test.com) as opposed to how it was installed by default (http://test.com/piwigo)
How best to accomplish this? (i.e. move existing website)
Thank you in advance!
Piwigo 2.9.5
Operating system: Linux
PHP: 7.2.19-0ubuntu0.18.04.2 (Show info) [2019-09-23 17:00:35]
MySQL: 5.7.27-0ubuntu0.18.04.1 [2019-09-23 17:00:35]
Graphics Library: ImageMagick 6.9.7-4
Last edited by UsedCows (2019-09-23 19:07:54)
Offline
Move all files and folders to your root path using FTP (it should be not needed to edit database/config file if you didn't added link to test.com/piwigo in topbar entry / additional page for exemple)
Offline
Thanks for the response. I was able to achieve what I was looking for w/o the need to move any files. I created another virtual host (below). Works perfectly!
<VirtualHost *:80>
ServerAdmin webmaster@test.com
DocumentRoot /var/www/html/piwigo
ServerName photos.test.com
<Directory /var/www/html/piwigo/>
Options +FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/photo.log combined\
</VirtualHost>
Offline
Pages: 1