there's a line in the error log about looking for rewrite.php - which is not a file in elgg.
if you look in the .htaccess_dist file you will see that rewrite.php is rewritten to install.php
which means that the .htaccess_dist file is not being used..
which, if i recall correctly (since i don't use apache any more) means that you need to rename the htaccess_dist file to be .htaccess for apache to use it. ;)
I just viewed again the video and noticed you edit htaccess_dist and not yet .htaccess. As Ura said Apache is looking for .htaccess. If the directory permissions prevent Elgg to create the .htaccess file (and maybe later also settings.php in the engine subdirectory) the change you made on RewriteBase will not work. You can create create .htaccess yourself by copying / renaming htaccess_dist to .htaccess and then modify RewriteBase in .htaccess.
Hey again guys, thank you for your replies.
I have been messing around with this again for a few hours, and it turns out that it was the .htaccess file that was causing the server problems! After a lot of trial and error I have discovered that the following lines will cause the server to return a 500 error:
## Apache2 deflate support if available
##
## Important note: mod_headers is required for correct functioning across proxies.
##
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.[0678] no-gzip
BrowserMatch \bMSIE !no-gzip<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule># The following is to disable compression for actions. The reason being is that these
# may offer direct downloads which (since the initial request comes in as text/html and headers
# get changed in the script) get double compressed and become unusable when downloaded by IE.
SetEnvIfNoCase Request_URI action\/* no-gzip dont-vary
SetEnvIfNoCase Request_URI actions\/* no-gzip dont-vary</IfModule>
After removing these, the installation worked fne.
Thanks for your help!
Joel
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.