RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.08k stars 874 forks source link

Noting happens when I install the download into the root of my web server. index.php is 0 bytes #2178

Open antonical opened 2 years ago

antonical commented 2 years ago

1.16 Standard and community Chrome Version 101.0.4951.64 (Official Build) (64-bit)

Access admin interface to install. Nothing happens!

Unpack zip file to web root navigate to install directory eg. www.mydomain/rainloop/?admin

**Pointless nothing to see but a blank page. Index.php is 0 bytes in both downloads.

Nothing in apache error log**

Simply looks like index.php is not packaged as it is 0 bytes in both download zip files so nothing to do when accessing the rainbird root.

Can''t progress or evaluate.

Server is Ubuntu 18.04 with over 50 other domains running perfectly. Roundcube works perfectly on this domain also.

Any help appreciated Tony

antonical commented 2 years ago

A bit more testing. I think it is something to do with the index.php that is put in my web server root. Why this assumes it is the primary application for a domain is beyond me. I am also very glad this is on a test domain as it would have overwritten existing index.php in the root.

Surely this should always assume by default it is running in a subdirectory.

My webserver structure is root = /home/domainname/public_html

For instance, roundcube is installed in roundcube subdirectory.

so I can navigate to www.mydomain/roundcube

And I get roundcube.

How do I configure this to operate from a subdirectory like rainloop or webmail?

Cheers Tony

antonical commented 2 years ago

OK I have the basic system installed I had to create an .htacces file and put it in the data directory with the following contents:

Order Allow,Deny Deny from all

That seems to have worked to protect the data directory.

I realised I had to create the high level subdirectory first and then unzip in that directory. It would then treat that as the 'root' and everything else relative.

I will persevere!

Cheers Tony