diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..a9e581c --- /dev/null +++ b/.htaccess @@ -0,0 +1,9 @@ +Options -Indexes +RewriteEngine On + +# Servir archivos y carpetas reales directamente +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +# Todo lo demás pasa por index.php raíz +RewriteRule ^ index.php [QSA,L] diff --git a/index.php b/index.php index 247c94f..c0e13b4 100644 --- a/index.php +++ b/index.php @@ -1,2 +1,17 @@