Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access over old URL ../owncloud no longer works #10112

Closed
BurtGummer opened this issue Jul 5, 2018 · 2 comments
Closed

Access over old URL ../owncloud no longer works #10112

BurtGummer opened this issue Jul 5, 2018 · 2 comments
Labels

Comments

@BurtGummer
Copy link

Hello,

NC 13.0.4 on a Debian Stretch with apache2 and mariadb. I have some clients, that uses the old URL ../owncloud/ and other clients uses ../cloud/ to browse NC. The URL with ../cloud/ works well, but the URL with ../owncloud/ show a internal server error:

image

The log:

{"reqId":"YLlqa84GS9PYLvNwXoU0","level":3,"time":"2018-07-05T07:35:14+02:00","remoteAddr":"80.xxx.xxx.xxx","user":"--","app":"index","method":"GET","url":"\/owncloud\/login","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"The requested uri(\\\/owncloud\\\/login) cannot be processed by the script '\\\/cloud\\\/index.php')\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/nextcloud\\\/lib\\\/base.php(951): OC\\\\AppFramework\\\\Http\\\\Request->getRawPathInfo()\\n#1 \\\/var\\\/www\\\/html\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#2 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Request.php\",\"Line\":733}","userAgent":"Mozilla\/5.0 (Windows NT 10.0; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/64.0.3282.189 Safari\/537.36 Vivaldi\/1.95.1077.55","version":"13.0.4.0"}

The config.php:

  'overwrite.cli.url' => 'https://example.org/cloud/',
  'htaccess.RewriteBase' => '/cloud',

my /etc/apache2/conf-available/nextcloud.conf contains:

Alias /owncloud "/var/www/html/nextcloud/"
Alias /cloud "/var/www/html/nextcloud/"
<Directory "/var/www/html/nextcloud">
  Options +FollowSymLinks
  AllowOverride All

  <IfModule mod_dav.c>
        Dav off
  </IfModule>

  SetEnv HOME /var/www/html/nextcloud
  SetEnv HTTP_HOME /var/www/html/nextcloud
</Directory>

<Directory "/var/www/html/nextcloud/data/">
    Require all denied
</Directory>

And the .htaccess:

RewriteBase /cloud

If i change the htaccess to "RewriteBase /" nothing works anymore.

Any ideas why ../owncloud/ not work?

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #7574 (NC13b3 regression: Reset Password no longer works), #1919 (WebDAV doesn't work when migrating from ownCloud), #8767 (After the update the nextcloud server is not longer working), #5168 (Dynamic LDAP groups no longer working), and #6155 (Can't access to old revision/version of a file (Collabora)).

@MorrisJobke
Copy link
Member

As this seems to be a setup issue I would like to ask you to raise your question in the forums: https://help.nextcloud.com

If you wish support with setup issues from Nextcloud GmbH we offer this as part of the Nextcloud subscription. Learn more about this at https://nextcloud.com/enterprise/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants