View Single Post
Old 05-03-2023, 06:39 PM  
Lief Thorson
So Fucking Banned
 
Industry Role:
Join Date: Apr 2023
Location: Norway
Posts: 528
Quote:
Originally Posted by lakerslive View Post
i tried

</IfModule mod_rewrite.c>
rewriterule .* - e=http_authorization:%{http:Authorization}]
RewriteBase /
RewriteRule ^index\.php$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . / index.php [L]
</IfModule>

but doesn't work?
If you do not turn the rewrite engine on, it cannot rewrite anything. Also, put options +Indexes at the top.

like this
Code:
Options +Indexes

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  RewriteRule .* - [E=http_authorization:%{HTTP:Authorization}]
</IfModule>
Lief Thorson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote