-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7383851
commit c215f4f
Showing
37 changed files
with
269 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
COPYING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,22 @@ | ||
# --- REMOTE_USER | ||
<Directory /srv/eyesofnetwork> | ||
SetEnvIf Cookie "user_name=([^;]+)" REMOTE_USER=admin | ||
#SetEnvIf Cookie "user_name=([^;]+)" REMOTE_USER=$1 | ||
</Directory> | ||
# --- END REMOTE_USER | ||
Alias /ged_rss "/srv/eyesofnetwork/ged/var/www/" | ||
|
||
Alias /ged_rss /srv/eyesofnetwork/ged/var/www/ | ||
<Directory /srv/eyesofnetwork/ged/var/www/> | ||
<Directory "/srv/eyesofnetwork/ged/var/www/"> | ||
Options -Indexes | ||
Require all granted | ||
|
||
<Files ~ (rss.xml|index.html)> | ||
</Files> | ||
<Files ~ (index.php)> | ||
AuthType Basic | ||
AuthName "Restricted" | ||
AuthFormAuthoritative On | ||
AuthFormMySQLSocket /var/lib/mysql/mysql.sock | ||
AuthFormMySQLUsername eonweb | ||
AuthFormMySQLPassword root66 | ||
AuthFormMySQLDB eonweb | ||
AuthFormMySQLTableSID sessions,users,groupright | ||
AuthFormMySQLFieldUID sessions.user_id | ||
AuthFormMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id" | ||
AuthFormPageLogin /login.php | ||
AuthFormSessionCookies On | ||
AuthEonAuthoritative On | ||
AuthEonMySQLSocket /var/lib/mysql/mysql.sock | ||
AuthEonMySQLUsername eonweb | ||
AuthEonMySQLPassword root66 | ||
AuthEonMySQLDB eonweb | ||
AuthEonMySQLTableSID sessions,users,groupright | ||
AuthEonMySQLFieldUID sessions.user_id | ||
AuthEonMySQLTableSIDCondition "`sessions`.`session_id`=$session_id AND `sessions`.`user_id`=$user_id AND `users`.`user_id`=$user_id AND `users`.`user_name`=$user_name AND `users`.`group_id`=$group_id AND `groupright`.`group_id`=$group_id" | ||
AuthEonPageLogin /login.php | ||
AuthEonSessionCookies On | ||
Require valid-user | ||
</Files> | ||
</Directory> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=Generic Event Dispatcher Daemon | ||
After=network.target | ||
After=mariadb.service | ||
|
||
[Service] | ||
Type=forking | ||
ExecStart=/srv/eyesofnetwork/ged/bin/ged -c /srv/eyesofnetwork/ged/etc/ged.cfg | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
50 3 * * * * root /srv/eyesofnetwork/ged/scripts/purge_event.sh 86400 > /dev/null 2>&1 |
Oops, something went wrong.