"collision" between Joomla and Virtualhosts for modules

BOUUUUUUUUUUUU I cannot reproduce, it works as expected :slight_smile:

I will detail my procedure later

could you please test my new version of dokuwiki

yum install http://mirror.de-labrusse.fr/NethDev/nethserver-dokuwiki/nethserver-dokuwiki-1.2.4-1.ns7.sdl.noarch.rpm

you should be aware also of a bug in the vhost, please check https://github.com/NethServer/dev/issues/5515

for the moment, please remove nextcloud, I need to check also on it.

Issue done for nextcloud

so,
good news: I get it working. :sunglasses:
My mistake was:

  • to have first create the virtualhosts into the server-manager
  • and then to have “re-create” the virtualhosts with “config setprop …”

So the instructions (for now!) are:

  • don’t create the virtualhosts into the server-manager
  • create them only by “config setprop…” These virtualhosts won’t be visible into the server-manager.
  • apply the indications of Markus:
  • install Joomla into /var/www/html

If I may wish something:

  • at least write it into the wikis
  • avoid the necessity of renaming the conf files
  • build a connection with the server-manager (virtualhosts enabled/disabled, access local/public, SSL? etc…)

@stephdl : should I try (= is it then necessary?) the new rpm?

@all: thanks for the support in any case:wink:

With the rpm I did it is not necessary, we have had an issue I solved

Do you still have an issue with nextcloud ???

yes you could try my rpm please, and report…before I break 1 000 000 servers

:smiley:

Upps. I didn’t know that you made an rpm for joomla…

With the instructions I wrote above, nextcloud works fine from the virtualhost, but only if the conf file has been renamed.

I tried your rpm (= simply updating dokuwiki) and… I can see no difference: the conf file is still zzz_dokuwiki.conf, dokuwiki works from the virtualhost, dokuwiki lets access to www.domain.tld for Joomla etc…
=> what have you modified? Where is the difference?

for dokuwiki I did a new rpm you can download from my repository

  • new vhost definition
  • dokuwiki.conf renamed to zzz_dokuwiki.conf
  • remove of dokuwiki.conf (a template cannot be removed alone)

for next-cloud I just did an issue in GH, but what you said drive me to do something

@davidep @giacomo what do you think of Apache Virtualhost Collision · Issue #5517 · NethServer/dev · GitHub

OK i can release :slight_smile:

confirmed, nextcloud.conf is caught as the default vhost and take all apache requests

*:80                   is a NameVirtualHost
         default server wordpress.de-labrusse.fr (/etc/httpd/conf.d/nextcloud.conf:1)
         port 80 namevhost wordpress.de-labrusse.fr (/etc/httpd/conf.d/nextcloud.conf:1)
*:443                  is a NameVirtualHost
         default server wordpress.de-labrusse.fr (/etc/httpd/conf.d/nextcloud.conf:6)
         port 443 namevhost wordpress.de-labrusse.fr (/etc/httpd/conf.d/nextcloud.conf:6)