[Owncloud] new web installer

Achim Bohnet ach at mpe.mpg.de
Fri Oct 12 07:47:46 UTC 2012


On Wednesday 10 October 2012 18:12:07 Frank Karlitschek wrote:
> On 10.10.2012, at 17:47, Achim Bohnet <ach at mpe.mpg.de> wrote:
> > On Monday 08 October 2012 23:57:33 Frank Karlitschek wrote:
> >> More good news everyone.
> >> 
> >> I updated the new web based installer to download the latest ownCloud zip
> >> from our ssl server. This means that we are now protected against man in
> >> the middle attacks.
> >> https://github.com/owncloud/administration/tree/master/web-installer
> >> 
> >> This will be a new and supported way to install ownCloud from now on. The
> >> benefits for users are: You only have to upload one php file to your
> >> webserver to install ownCloud. No need to unzip it or understand what an
> >> archive is. It automatically fixed the file permissions on the server so
> >> you don´t need cli or unix know how and ownCloud can update itself
> >> because
> >> the files are owned by the webserver user.
> >> 
> >> So installing ownCloud should be super easy now for unexperienced users.
> >> 
> >> It can be downloaded from here:
> >> https://download.owncloud.com/download/community/setup-owncloud.php
> > 
> > Great tool.
> > 
> > Would be nice if one could specify the subdirectory used to install
> > owncloud. E.g. with default owncloud or if empty (or .) install into the
> > same dir that contains setup-owncloud.php.
> 
> Yes. This would be a good extension. Looking forward to a patch :-)
> 
> > I'm also not sure if the rewrite rules in .htaccess also work with an
> > installation not located in htdocs.  With 4.0.? it did not.
> 
> I´m not sure what you mean. ownCloud has to be installed in htdocs.

The .htaccess file works with owncloud is installed as

	owncloud.example.com

but not when installed like in a subdir of htdocs like

       owncloud.example.com/whatever


At least my Ipod touch needed those changes in 4.0.? 
E.g.,  when installed in  http://example.com/~allee/



# diff -u git/stable4/.htaccess users/allee/.htaccess
--- git/stable4/.htaccess       2012-06-25 16:16:28.000000000 +0200
+++ users/allee/.htaccess       2012-07-18 11:19:26.000000000 +0200
@@ -1,5 +1,5 @@
-ErrorDocument 403 /core/templates/403.php
-ErrorDocument 404 /core/templates/404.php
+ErrorDocument 403 /~allee/core/templates/403.php
+ErrorDocument 404 /~allee/core/templates/404.php
 <IfModule mod_php5.c>
 php_value upload_max_filesize 513M
 php_value post_max_size 513M
@@ -11,9 +11,9 @@
 <IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
-RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
-RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]
-RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]
+RewriteRule ^.well-known/host-meta /~allee/public.php?service=host-meta [QSA,L]
+RewriteRule ^.well-known/carddav /~allee/remote.php/carddav/ [R]
+RewriteRule ^.well-known/caldav /~allee/remote.php/caldav/ [R]
 RewriteRule ^apps/calendar/caldav.php remote.php/caldav/ [QSA,L]
 RewriteRule ^apps/contacts/carddav.php remote.php/carddav/ [QSA,L]
 RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]


> 
> 
> Frank
> 
> > Achim
> > 
> >> Have fun.
> >> 
> >> Frank
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Owncloud mailing list
> >> Owncloud at kde.org
> >> https://mail.kde.org/mailman/listinfo/owncloud
-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com




More information about the Owncloud mailing list