This commit is contained in:
mikael-zakaria 2025-11-12 08:32:02 +07:00
commit 9217150b58
2 changed files with 16 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Options -Indexes
# change the following line to match the subfolder you need. # change the following line to match the subfolder you need.
# http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase # http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase
# RewriteBase / # RewriteBase /
RewriteBase /cmod/
# Redirect Trailing Slashes... # Redirect Trailing Slashes...
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$ RewriteCond %{REQUEST_URI} (.+)/$
@ -31,7 +31,7 @@ Options -Indexes
# request to the front controller, index.php # request to the front controller, index.php
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([\s\S]*)$ index.php/$1 [L,NC,QSA] RewriteRule ^([\s\S]*)$ index.php?/$1 [L,NC,QSA]
# Ensure Authorization header is passed along # Ensure Authorization header is passed along
RewriteCond %{HTTP:Authorization} . RewriteCond %{HTTP:Authorization} .

14
public/test.html Normal file
View File

@ -0,0 +1,14 @@
<pre>
_______ __
/ | / |
$$$$$$$/ ______ ______ _______ ____$$ | ______
$$ |____ / \ / \ / \ / $$ | / \
$$ \ /$$$$$$ | $$$$$$ |$$$$$$$ |/$$$$$$$ | $$$$$$ |
$$$$$$$ |$$ | $$ | / $$ |$$ | $$ |$$ | $$ | / $$ |
/ \__$$ |$$ |__$$ |/$$$$$$$ |$$ | $$ |$$ \__$$ |/$$$$$$$ |
$$ $$/ $$ $$/ $$ $$ |$$ | $$ |$$ $$ |$$ $$ |
$$$$$$/ $$$$$$$/ $$$$$$$/ $$/ $$/ $$$$$$$/ $$$$$$$/
$$ |
$$ |
$$/
</pre>