facut pana la video 7

This commit is contained in:
Cerbu Andrei Mihnea
2023-05-10 00:47:48 +03:00
parent 1abdc313f4
commit 90f12ab916
40 changed files with 1644 additions and 41 deletions
+14
View File
@@ -0,0 +1,14 @@
ErrorDocument 403 /404.php
ErrorDocument 404 /404.php
DirectoryINdex index.php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
RewriteCond %{REQUEST_URI} !^/$
RewriteCond %{REQUEST_URI} !^/admin
RewriteRule .*/ [L,R=301]
</IfModule>