Hi,
I am trying to install nextcloud and I’m facing a problem with my subdomain/folder config.
I access Nextcloud at the address http://cloud.xxx.com/index.php but nextcloud is trying to retreive all js/css files from: http://cloud.xxx.com/cloud/file.js and not from http://cloud.xxx.com/file.js
I have created my subdomain like this:
apache2.conf:
Alias /cloud /home/pi/cloud
<Directory /home/pi/cloud>
Options +FollowSymlinks
AllowOverride All
Require all granted
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /home/pi/cloud
SetEnv HTTP_HOME /home/pi/cloud
</Directory>
/etc/apache2/sites-available/cloud.xxx.fr.conf
<VirtualHost *:80>
ServerName cloud.xxx.fr
ServerAdmin postmaster@xxx.fr
ProxyPass / http://127.0.0.1/cloud/
ProxyPassReverse / http://127.0.0.1/cloud/
ProxyRequests Off
</VirtualHost>
sudo a2ensite cloud.xxx.fr.conf
I tried to install the latest version by unziping file and with the web-installer and I get the same problem.
If I still submit the config form, it just try to access different url and refresh all the time http://cloud.assouly.fr/cloud/index.php/index.php
Any idea?
Thanks !!