Announcement

#1 2019-09-23 19:04:25

UsedCows
Member
2019-02-23
12

[resolved] Move Piwigo website from test.com/piwigo to test.com/

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

 

#2 2019-09-24 10:09:29

Jessy
Member
2018-03-07
44

Re: [resolved] Move Piwigo website from test.com/piwigo to test.com/

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

 

#3 2019-10-02 18:46:20

UsedCows
Member
2019-02-23
12

Re: [resolved] Move Piwigo website from test.com/piwigo to test.com/

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact