-
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
# CyberChat .htaccess — Apache configuration
|
||||||
|
|
||||||
|
# Deny direct access to SQLite databases
|
||||||
|
<FilesMatch "\.sqlite$">
|
||||||
|
Order Allow,Deny
|
||||||
|
Deny from all
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
# Deny direct access to db/ and archive/ directories
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteRule ^db/ - [F,L]
|
||||||
|
RewriteRule ^archive/ - [F,L]
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# PHP settings (if allowed by host)
|
||||||
|
<IfModule mod_php.c>
|
||||||
|
php_value session.cookie_httponly 1
|
||||||
|
php_value session.cookie_samesite Strict
|
||||||
|
php_value session.use_strict_mode 1
|
||||||
|
</IfModule>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# CYBERCHAT v3.0
|
# Chat v2.0
|
||||||
|
|
||||||
A self-contained, embed-ready real-time web chat built with **PHP, JavaScript, HTML5, and SQLite**. No external dependencies beyond PHP 8.0+.
|
A self-contained, embed-ready real-time web chat built with **PHP, JavaScript, HTML5, and SQLite**. No external dependencies beyond PHP 8.0+.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user