diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..c94ac81 --- /dev/null +++ b/.htaccess @@ -0,0 +1,51 @@ +php_value display_errors On +php_value date.timezone Asia/Singapore + +# ============================== +# BASIC SETTINGS +# ============================== + +# Prevent directory listing +Options -Indexes + +# ============================== +# CACHE CONTROL (No caching) +# ============================== + + Header set Cache-Control "no-cache, no-store, must-revalidate" + Header set Pragma "no-cache" + Header set Expires 0 + + +# ============================== +# FORCE HTTPS +# ============================== + + RewriteEngine On + # Redirect HTTP to HTTPS + RewriteCond %{HTTPS} !=on + RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + + +# ============================== +# GZIP / COMPRESSION (Optional) +# ============================== + + AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/json + + +# ============================== +# CLEAN URLS (Optional) +# ============================== + + RewriteEngine On + # If request is not a real file, rewrite to .php + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^([a-zA-Z0-9_-]+)$ $1.php [L] + + +# ============================== +# CUSTOM 404 PAGE (Optional) +# ============================== +ErrorDocument 404 /404.html \ No newline at end of file diff --git a/assets/css/modules/_chatbot.css b/assets/css/modules/_assistant.css similarity index 100% rename from assets/css/modules/_chatbot.css rename to assets/css/modules/_assistant.css diff --git a/assets/css/style.css b/assets/css/style.css index aff6cb5..744a511 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -10,6 +10,6 @@ @import url('modules/_hero.css'); @import url('modules/_cards.css'); @import url('modules/_contact.css'); -@import url('modules/_chatbot.css'); +@import url('modules/_assistant.css'); @import url('modules/_utilities.css'); @import url('modules/_responsive.css'); \ No newline at end of file diff --git a/index.php b/index.php index de82ac8..bf38417 100755 --- a/index.php +++ b/index.php @@ -32,8 +32,8 @@ $contactEmail = $_ENV['CONTACT_EMAIL'] ?? getenv('CONTACT_EMAIL') Cris Charles Garcia | Software Developer - - + +