Access from example.com instead of example.com/owncloud

Ask all your questions regarding OC 8.2 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
dbolton
Beginner
Posts: 15
Joined: Fri Dec 27, 2013 7:58 am
ownCloud version: 9.0.1
Webserver: Apache
OS: Linux

Access from example.com instead of example.com/owncloud

Postby dbolton » Thu Nov 19, 2015 9:49 am

How do I set up a new install of ownCloud so that I can access it from example.com instead of example.com/owncloud?

I'm installing ownCloud 8.2.1 on Ubuntu Server 14.04 LTS

I wonder if changing the default settings in /etc/apache2/conf-available/owncloud.conf will change this or if those directories only affect how the files are stored internally on the server:

Code: Select all

Alias /owncloud "/var/www/owncloud/"

<Directory "/var/www/owncloud">
    Options +FollowSymLinks
    AllowOverride All

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

    SetEnv HOME /var/www/owncloud
    SetEnv HTTP_HOME /var/www/owncloud


</Directory>

<Directory "/var/www/owncloud/data/">
  # just in case if .htaccess gets disabled
  Require all denied
</Directory>

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Access from example.com instead of example.com/owncloud

Postby RealRancor » Thu Nov 19, 2015 9:55 am

Duplicate of viewtopic.php?f=31&t=31516 and some more existing threads.

Might be useful if some one has configured his web server correctly is writing a FAQ to avoid having asked this question over and over again.
*gone*

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Access from example.com instead of example.com/owncloud

Postby tflidd » Thu Nov 19, 2015 5:49 pm

Let's stick to the already existing thread.


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 1 guest