From 943e629120af454decdb0f67c8351a1fc9671daf Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:50:55 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20htaccess=20+=20index=20ra=C3=ADz=20con?= =?UTF-8?q?=20soporte=20APP=5FBASE=20para=20subdirectorio=20/admin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .htaccess | 9 +++++++++ index.php | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .htaccess 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 @@