Closed DominicMe closed 6 years ago
To remove /pydio in the url, please follow steps:
In Pydio Settings >> go to Main Options (Application Core) >> set Server URL : blank
Apache: disable conf pydio.conf
a2disconf pydio.conf
Apache: create new pydio.conf in /etc/apache2/sites-available/pydio.conf
<VirtualHost *:80>
ServerName domain.name
DocumentRoot "/usr/share/pydio"
<Directory "/usr/share/pydio">
Options FollowSymLinks
AllowOverride Limit FileInfo
Require all granted
</Directory>
</VirtualHost>
Apache: disable default site
sudo a2dissite 000-default.conf
Apache: enable pydio.conf
sudo a2ensite pydio.conf
Apache: edit /usr/share/pydio/.htaccess
change RewriteBase /pydio
to RewriteBase /
Pydio: clear plugins cache
rm -rf /var/lib/pydio/data/cache/plugins_*
rm -rf /var/lib/pydio/data/cache/i18/*.ser
Restart apache2
sudo service apache2 restart
Hi, this solution doesn't works, now if i go to "domain.name" i've error Opss etc etc and if i go to domain.name/pydio i've blank page. do you know why? Thanks
In my Centos 7 installation, there is a file /var/cache/pydio/plugins_toplevel_routes.php. If you look inside, there are paths, for example "/pydio/ocs' => array ( " etc. If everything is done according to the instruction and then remove this file, then it will be generated again with new paths. Or this paths can be changed manually At least need 4 steps:
It seems like there is something hard-coded in pydio that does not allow to access pydio without "/pydio" in the url.
Here is the relevant snippet from my apache config:
With this code pydio can be accessed from test.com/pydio. If the Alias line is removed one would expect pydio to be accessible on test.com however only the misspelled Oups 404 error message is displayed. Am I missing something here?
P.S. Pydio forums are broken. I tried posting there but both times the thread disappeared without warning not to mention malformed posting UI elements.