From ac17156cd0ac192e76d3a3fee0de95251c2c3231 Mon Sep 17 00:00:00 2001 From: Dinesh Date: Thu, 7 Nov 2024 10:22:09 +0530 Subject: [PATCH] public files commit --- public/.htaccess | 49 ++++++++++++++++++++ public/Organisation schema markup aissel.txt | 15 ++++++ public/Website schema mark up.txt | 13 ++++++ public/index.php | 39 ++++++++++++++++ public/robots.txt | 2 + 5 files changed, 118 insertions(+) create mode 100755 public/.htaccess create mode 100644 public/Organisation schema markup aissel.txt create mode 100644 public/Website schema mark up.txt create mode 100755 public/index.php create mode 100755 public/robots.txt diff --git a/public/.htaccess b/public/.htaccess new file mode 100755 index 0000000..a5d6c2a --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,49 @@ +# Disable directory browsing +Options All -Indexes + +# ---------------------------------------------------------------------- +# Rewrite engine +# ---------------------------------------------------------------------- + +# Turning on the rewrite engine is necessary for the following rules and features. +# FollowSymLinks must be enabled for this to work. + + Options +FollowSymlinks + RewriteEngine On + + # If you installed CodeIgniter in a subfolder, you will need to + # change the following line to match the subfolder you need. + # http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase + # RewriteBase / + + # Redirect Trailing Slashes... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Rewrite "www.example.com -> example.com" + RewriteCond %{HTTPS} !=on + RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] + RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L] + + # Checks to see if the user is attempting to access a valid file, + # such as an image or css document, if this isn't true it sends the + # request to the front controller, index.php + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^([\s\S]*)$ index.php/$1 [L,NC,QSA] + + # Ensure Authorization header is passed along + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + + + # If we don't have mod_rewrite installed, all 404's + # can be sent to index.php, and everything works as normal. + ErrorDocument 404 index.php + + +# Disable server signature start + ServerSignature Off +# Disable server signature end diff --git a/public/Organisation schema markup aissel.txt b/public/Organisation schema markup aissel.txt new file mode 100644 index 0000000..f9b6fd4 --- /dev/null +++ b/public/Organisation schema markup aissel.txt @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/public/Website schema mark up.txt b/public/Website schema mark up.txt new file mode 100644 index 0000000..34ef949 --- /dev/null +++ b/public/Website schema mark up.txt @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/public/index.php b/public/index.php new file mode 100755 index 0000000..945d706 --- /dev/null +++ b/public/index.php @@ -0,0 +1,39 @@ +systemDirectory, '\\/ ') . DIRECTORY_SEPARATOR . 'bootstrap.php'; +$app = require realpath($bootstrap) ?: $bootstrap; + +/* + *--------------------------------------------------------------- + * LAUNCH THE APPLICATION + *--------------------------------------------------------------- + * Now that everything is setup, it's time to actually fire + * up the engines and make this app do its thang. + */ +$app->run(); diff --git a/public/robots.txt b/public/robots.txt new file mode 100755 index 0000000..9e60f97 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: