diff --git a/.htaccess b/.htaccess index 294b415..1e79fc5 100644 --- a/.htaccess +++ b/.htaccess @@ -1,9 +1,6 @@ -DirectoryIndex index.php +RedirectMatch 404 /\.git RewriteEngine On -RewriteBase / - -RewriteCond %{REQUEST_URI} !^/www.* -RewriteCond %{REQUEST_URI} !^www.* -RewriteRule (.*) /www/$0 [END] +RewriteCond %{REQUEST_FILENAME} -f +RewriteRule (.*) /src/$0 [END] diff --git a/www/index.php b/index.php similarity index 58% rename from www/index.php rename to index.php index 6084dcf..0b7c7f4 100644 --- a/www/index.php +++ b/index.php @@ -1,8 +1,8 @@ render('index.html',[ diff --git a/www/dergstyle.css b/src/dergstyle.css similarity index 100% rename from www/dergstyle.css rename to src/dergstyle.css diff --git a/templates/index.html b/templates/index.html index 50f9c93..b4bf20f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ Lucidragons' Fire - +

The dergsite

diff --git a/www/.htaccess b/www/.htaccess deleted file mode 100644 index 605d2f4..0000000 --- a/www/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Allow from all