I'm running an apache server with icinga, some personal static stuff, and nextcloud. How I'd like this to work is as follows;
domain/ (all my static stuff)
/nextcloud
/icingaweb2
the directory structure is
/var/www/html (all my personal stuff)
/var/www/nextcloud
The config for this is
<VirtualHost *:80>
ServerAdmin <email>
DocumentRoot "/var/www/html"
ServerName <url>
Alias "/nextcloud/" "../nextcloud"
Options MultiViews FollowSymlinks
<Directory "nextcloud/">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
TransferLog /var/log/apache2/nextcloud_access.log
ErrorLog /var/log/apache2/nextcloud_error.log
</VirtualHost>%
I'm not exactly sure how Icinga works, but it and the static part is fine. Nextcloud isn't and I get a Forbidden 403 for this.
This config works, but none of the static stuff does;
<VirtualHost *:80>
ServerAdmin <email>
DocumentRoot "/var/www/nextcloud"
ServerName <url>
<Directory "/var/www/nextcloud/">
Options MultiViews FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
TransferLog /var/log/apache2/nextcloud_access.log
ErrorLog /var/log/apache2/nextcloud_error.log
</VirtualHost>%
I'm running Debian BTW, Thanks