<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>36755</bug_id>
          
          <creation_ts>2019-05-16 13:30:53 +0300</creation_ts>
          <short_desc>Не работает, как другие webapps</short_desc>
          <delta_ts>2019-06-17 23:54:53 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>nextcloud-apache2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>34231</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="ekorneechev@altlinux.org">ekorneechev</assigned_to>
          <cc>cas</cc>
    
    <cc>ekorneechev</cc>
    
    <cc>ekorneechev</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>181662</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2019-05-16 13:30:53 +0300</bug_when>
    <thetext>В отличие от Moodle и Mediawiki, nextcloud недоступен в подкаталоге /nextcloud. Более того, он не работает, поскольку по умолчанию там вбито www.example.com.

Прошу сделать как в mediawiki-apache2 с 
  &lt;IfModule alias_module&gt;
    Alias /nextcloud &quot;/var/www/webapps/nextcloud/&quot;
  &lt;/IfModule&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181665</commentid>
    <comment_count>1</comment_count>
    <who name="Evgeniy Korneechev">ekorneechev</who>
    <bug_when>2019-05-16 17:36:38 +0300</bug_when>
    <thetext>(В ответ на комментарий №0)
&gt; В отличие от Moodle и Mediawiki, nextcloud недоступен в подкаталоге /nextcloud.
Так это же пример конфига, и каждый настраивает под себя.
%description apache2
Apache 2.x web-server default configuration for %name.
- Возможно мне стоит заменить default на example.

&gt; Более того, он не работает, поскольку по умолчанию там вбито www.example.com.
А в медиавики вбито: your.wiki.site...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182083</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2019-06-01 22:19:49 +0300</bug_when>
    <thetext>Согласно https://docs.nextcloud.com/server/16/admin_manual/installation/source_installation.html#apache-web-server-configuration предлагается такой файл /etc/httpd2/conf/sites-available/nextcloud.conf:

Alias /nextcloud &quot;/var/www/webapps/nextcloud/&quot;

&lt;Directory /var/www/webapps/nextcloud/&gt;
  Require all granted
  Options FollowSymlinks MultiViews
  AllowOverride All

 &lt;IfModule mod_dav.c&gt;
  Dav off
 &lt;/IfModule&gt;

 SetEnv HOME /var/www/webapps/nextcloud
 SetEnv HTTP_HOME /var/www/webapps/nextcloud

&lt;/Directory&gt;
----------
С этой конфигурацией работает из коробки и соответствует апстримной документации.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182499</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-06-17 23:54:53 +0300</bug_when>
    <thetext>nextcloud-16.0.0-alt2 -&gt; sisyphus:

Wed Jun 05 2019 Andrey Cherepanov &lt;cas@altlinux&gt; 16.0.0-alt2
- Fix Apache2 configuration (ALT #36755) according to
  https://docs.nextcloud.com/server/16/admin_manual/installation/source_installation.html#apache-web-server-configuration
- Add requirement to php7-pcntl.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>