diff --git a/.gitignore b/.gitignore index 047ec2f..7c18c1e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ .osp .git .github +ngallery.yaml \ No newline at end of file diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..7277e65 --- /dev/null +++ b/.htaccess @@ -0,0 +1,32 @@ +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +AddDefaultCharset UTF-8 +RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] + +Options -Indexes + + + Order allow,deny + Deny from all + + + + Order allow,deny + Deny from all + + + + Order allow,deny + Deny from all + + + + Order allow,deny + Deny from all + + + +RedirectMatch 404 /\.git +RedirectMatch 404 /\.yml +RedirectMatch 404 /\.yaml +RedirectMatch 404 /\..*$ \ No newline at end of file diff --git a/index.php b/index.php index 8330352..f05e0b7 100644 --- a/index.php +++ b/index.php @@ -1,10 +1,7 @@ server down \ No newline at end of file