diff --git a/.htaccess b/.htaccess index 1e79fc5..294b415 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,9 @@ -RedirectMatch 404 /\.git +DirectoryIndex index.php RewriteEngine On -RewriteCond %{REQUEST_FILENAME} -f -RewriteRule (.*) /src/$0 [END] +RewriteBase / + +RewriteCond %{REQUEST_URI} !^/www.* +RewriteCond %{REQUEST_URI} !^www.* +RewriteRule (.*) /www/$0 [END] diff --git a/templates/index.html b/templates/index.html index b4bf20f..50f9c93 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 new file mode 100644 index 0000000..605d2f4 --- /dev/null +++ b/www/.htaccess @@ -0,0 +1 @@ +Allow from all diff --git a/src/dergstyle.css b/www/dergstyle.css similarity index 100% rename from src/dergstyle.css rename to www/dergstyle.css diff --git a/index.php b/www/index.php similarity index 58% rename from index.php rename to www/index.php index 0b7c7f4..6084dcf 100644 --- a/index.php +++ b/www/index.php @@ -1,8 +1,8 @@ render('index.html',[