-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
27 lines (21 loc) · 956 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Install instructions: At least the way I did it.
Create a subdir "webcal" - or calendar or feefiefoo...
mv [dot]dbconnect.php to webcal/.dbconnect.php and configure
Rename adminsub to .s0m3randOmStrIng - [dot]some...
In index.php find foo4fee5 and change it to somerand...
Edit index.php - find "admin" and change href to [.some random string]
Create you DB (from README) and install the 2 DB tables. Edit enums as you see fit.
In .somerand... edit new.php to match
Spend the next hour or two debugging what I've missed ...
In the admin sub-directory you need the file ".htaccess"
AuthType Basic
AuthName "MY Calendar"
AuthUserFile "[somewhere]/.htpasswd/[userfilename]"
require valid-user
RewriteEngine on
RewriteRule ^(.*)\.[\d]{10}\.(css|js)$ $1.$2 [L]
<IfModule mod_headers.c>
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0
</IfModule>