Reading the recent post on misc, "Best way forward w.r.t.
apache/nginx/httpd?", I don't think httpd is ready for owncloud,
especially for someone with little experience running web servers.

Anyway, thanks guys for your support.

Clemens

On 30.12.14 08:03, Jona Joachim wrote:
> [This message has also been posted to gmane.os.openbsd.misc.]
> On 2014-12-29, Clemens Gößnitzer <e1126...@student.tuwien.ac.at> wrote:
>> Hey,
>>
>>> Since your initial email you have not included any config files, i.e.
>>> httpd.conf, etc. Would you, perhaps, care to share them with us? My
>>> shew stone is being serviced.
>>
>> Of course. Here they are:
>>
>> # cat /etc/httpd.conf
>> server "default" {
>>         listen on wpi0 port 80
>>         directory { no index, index index.php }
>>
>>         location "*.php" {
>>                 fastcgi socket "/run/php-fpm.sock"
>>         }
>>
>> }
>>
>> types {
>>         include "/usr/share/misc/mime.types"
>> }
>>
>>
>> /etc/php-5.5.ini: everything default except the values mentioned in the
>> pkg-readme of owncloud:
>>
>> allow_url_fopen = On
>> memory_limit = 512M
>> upload_max_filesize = 1024M      # to accept large files upload
>> post_max_size = 1030M            # sync with above value
>>
>> all other php module config files unchanged, and active according to
>> phpinfo().
>>
>> # cat /var/www/owncloud/config/config.php
>> <?php
>> $CONFIG = array (
>>   'instanceid' => 'MY_ID',
>>   'passwordsalt' => 'MY_PW-SALT',
>>   'secret' => 'MY_SECRECT',
>>   'trusted_domains' =>
>>   array (
>>     0 => '192.168.178.49',
>>   ),
>>   'datadirectory' => '/owncloud-data',
>>   'overwrite.cli.url' => 'http://192.168.178.49/owncloud',
>>   'dbtype' => 'sqlite3',
>>   'version' => '7.0.4.2',
>>   'dbname' => 'owncloud_db',
>>   'dbhost' => '127.0.0.1',
>>   'dbtableprefix' => 'oc_',
>>   'dbuser' => 'oc_clemens',
>>   'dbpassword' => 'MY_DB-PASSWORD',
>>   'installed' => true,
>> );
> 
> Was the sqlite database created? 'installed => true' means that it
> assumes that the database is functional and it will not be initialized.
> Also you will not need the hostname, user, db prefix, etc. with sqlite.
> 
> Also make sure that you don't need any url rewrites. I'm using
> owncloud-6.0.4 and the documentation recommends url rewrites which are
> not mandatory for owncloud to work but perhaps this changed in the new
> version. Perhaps you should try with nginx and the recommended
> configuration and see if it works and then go back to httpd.
> 
> Best regards,
> Jona

Reply via email to