Question
500 Internal Server Error for IPAddress/Omeka/install/install.php
OS: Windows 10
Server: Putty Ubuntu 14.04.3
These were the instructions I was given to follow in setting up Omeka through my server.
sudo cp .htaccess.changeme .htaccess
$ sudo nano .htaccess
move down to where you see this
Rewrite Rules
If you know modrewrite is enabled, but you are still getting modrewrite
errors, uncomment the line below and replace “/” with your base directory.
RewriteBase /
change the line “# RewriteBase /“ so that it says "RewriteBase /Omeka”
save and close the file
now, go to http://[YOUR SERVER’S IP ADDRESS]/phpmyadmin/ in your web browser
log in to phpmyadmin with whatever you set your login info to
once you’ve logged in, click “databases"
type Omeka into the box, and click “create”
now, go back to your server
in Putty
$ sudo nano /etc/apache2/apache2.conf
press control button + w
^^ that is the command to search
if you correctly hit the command to search you should see this…
Type “AllowOverride” into the search box and hit enter
use your arrows to move down to find this part…
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory> (edited)
edit the line that says “AllowOverride None"
so that it says “AllowOverride All”
save and close the file
$ sudo service apache2 restart
now, go to your web browser and go to http://[YOUR IP ADDRESS HERE]/Omeka/install/install.php
set the options to whatever you want
set the ImageMagick path to /usr/bin/
I still get the 500 error when I enter my IP/Omeka/install/install.php .
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
You can find any logged errors in /var/log/apache2/error.log
Did you make sure to enable the rewrite module which is needed for this configuration?
a2enmod rewrite
service apache2 restart