Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,31 @@ HOW TO CHANGE SETTINGS AFTER INITIAL SETUP
ADMIN ACCOUNT
==================================================
The admin account is 'admin' with password 'onj'. To change the password, either manually do it in the database (ugly) or edit the dbinit.sql file before running setup
==================================================

ADDING SECURITY FEATURE
While setting up onj using apache server, prevent access to files/directories by following these instructions:

Open the file /etc/apache2/apache2.conf

Insert the following lines of code:

<Directory /var/www/html/onj/problems>
Order Deny,Allow
Deny from all
</Directory>


<Directory /var/www/html/onj/code>
Order Deny,Allow
Deny from all
</Directory>


<Directory /var/www/html/onj/admin>
Order Deny,Allow
Deny from all
</Directory>

==================================================