aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.htaccess7
-rw-r--r--index.php12
-rw-r--r--ratatoeskr/.htaccess4
-rw-r--r--ratatoeskr/backend/main.php0
-rw-r--r--ratatoeskr/plugin_extradata/.htaccess4
-rw-r--r--ratatoeskr/templates/.htaccess4
6 files changed, 29 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index e69de29..22cfebf 100644
--- a/.htaccess
+++ b/.htaccess
@@ -0,0 +1,7 @@
+RewriteEngine On
+
+RewriteCond %{REQUEST_FILENAME} -f [OR]
+RewriteCond %{REQUEST_FILENAME} -d
+RewriteRule ^(.+) - [PT,L]
+
+RewriteRule (.*) index.php/$1 [L]
diff --git a/index.php b/index.php
index 3eb9468..2d55787 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,15 @@
<?php
-header("Content-Type: text/text");
+/*require_once(dirname(__FILE__) . "/ratatoeskr/main.php");
+ratatoeskr();*/
+header("Content-type: text/plain");
+print "\$_POST:\n";
+print_r($_POST);
+print "\n\n\$_GET:\n";
+print_r($_GET);
+print "\n\n\$_REQUEST:\n";
print_r($_REQUEST);
-
+print "\n\n\$_SERVER:\n";
+print_r($_SERVER);
?>
diff --git a/ratatoeskr/.htaccess b/ratatoeskr/.htaccess
new file mode 100644
index 0000000..dec4e25
--- /dev/null
+++ b/ratatoeskr/.htaccess
@@ -0,0 +1,4 @@
+<FilesMatch "\.php$">
+ Order Allow,Deny
+ Deny from all
+</FilesMatch>
diff --git a/ratatoeskr/backend/main.php b/ratatoeskr/backend/main.php
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ratatoeskr/backend/main.php
diff --git a/ratatoeskr/plugin_extradata/.htaccess b/ratatoeskr/plugin_extradata/.htaccess
new file mode 100644
index 0000000..19469bf
--- /dev/null
+++ b/ratatoeskr/plugin_extradata/.htaccess
@@ -0,0 +1,4 @@
+<Files *>
+ Order Allow,Deny
+ Deny from all
+</Files>
diff --git a/ratatoeskr/templates/.htaccess b/ratatoeskr/templates/.htaccess
new file mode 100644
index 0000000..19469bf
--- /dev/null
+++ b/ratatoeskr/templates/.htaccess
@@ -0,0 +1,4 @@
+<Files *>
+ Order Allow,Deny
+ Deny from all
+</Files>