Forums / Cotonti / Support / Handly sef url working on Litespeed ?

MecTruy
#1 2023-11-23 10:56

Handly sef url working on Litespeed ? or just Apache ? i must do extra someting for .htaccess rules ?

Added 11 minutes later:

i found solition, for Litespeed and Openspeed .htaccess

example .htaccess

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Options -Indexes
RewriteEngine On
 
 
 
<IfModule mod_rewrite.c>
    RewriteEngine On
 
    #   If you are having problems with the rewrite rules, remove the "#" from the
    #   line that begins "RewriteBase" below. You will also have to change the path
    #   of the rewrite to reflect the path to your XenForo installation.
    #RewriteBase /xenforo
 
    #   This line may be needed to workaround HTTP Basic auth issues when using PHP as a CGI.
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
 
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^([^?]+) index.php?rwr=$1 [QSA,NC,NE,L]
    RewriteRule ^page/([a-zA-Z0-9_]+)$ page.php?al=$1 [QSA,NC,NE,L]
</IfModule>

 

Added 7 hours later:

This method just working pages sef urls  but admin panel not working. 

Kurta sormuşlar senin ensen neden kalın ? diye, Kendi işimi kendim yaparımda ondan demiş...
This post was edited by MecTruy (2023-11-23 18:09, 1 year ago)