V
V
vkup2018-03-10 22:14:27
htaccess
vkup, 2018-03-10 22:14:27

How to fix RewriteRule error?

Checked htaccess online. Found these errors. How can they be corrected?

4	RewriteRule ^f.min.reg/?$ /inc/forms/mini_reg.php	This rule was not met.
5	RewriteRule ^f.vk.add/?$ /inc/forms/vk_add.php	This rule was not met.
6	RewriteRule ^ref((.*?))?/?$ index.php?ref=$1	This rule was not met.
7	RewriteRule ^activate/?$ activate.php	This rule was not met.
8	RewriteRule ^auth/?$ /modules/users/auth.php	This rule was not met.
9	RewriteRule ^reg/?$ /modules/users/reg.php	This rule was not met.
10	RewriteRule ^reemail/?$ /modules/users/reemail.php	This rule was not met.
11	RewriteRule ^deleted/?$ deleted.php	This rule was not met.
12	RewriteRule ^blocked/?$ blocked.php	This rule was not met.
13	RewriteRule ^restore/?$ /modules/restore/index.php	This rule was not met.
14	RewriteRule ^restore/(.*?)/?$ modules/restore/$1.php	This rule was not met.
15	RewriteRule ^stats/?$ /modules/stats/index.php	This rule was not met.
16	RewriteRule ^top/?$ /modules/top/index.php	This rule was not met.
17	RewriteRule ^tasks/?$ modules/tasks/index.php	This rule was not met.
18	RewriteRule ^tasks/(.*?)/?$ modules/tasks/$1.php	This rule was not met.
19	RewriteRule ^categories/?$ modules/categories/index.php	This rule was not met.
20	RewriteRule ^categories/(.*?)/?$ modules/categories/$1.php	This rule was not met.
21	RewriteRule ^support/?$ modules/support/index.php	This rule was not met.
22	RewriteRule ^support/(.*?)/?$ modules/support/$1.php	This rule was not met.
23	RewriteRule ^settings/?$ modules/settings/index.php	This rule was not met.
24	RewriteRule ^settings/(.*?)/?$ modules/settings/$1.php	This rule was not met.
25	RewriteRule ^page/(.*?)/?$ modules/pages/index.php?page=$1 [L,QSA]	This rule was not met.
26	RewriteRule ^blog/?$ modules/blog/index.php	This rule was not met.
27	RewriteRule ^blog/(.*?)/?$ modules/blog/$1.php	This rule was not met.
28	RewriteRule ^complaints/?$ modules/complaints/index.php	This rule was not met.
29	RewriteRule ^complaints/(.*?)/?$ modules/complaints/$1.php	This rule was not met.
30	RewriteRule ^exchange/?$ modules/exchange/index.php	This rule was not met.
31	RewriteRule ^exchange/(.*?)/?$ modules/exchange/$1.php	This rule was not met.
32	RewriteRule ^asd/?$ modules/asd/index.php	This rule was not met.
33	RewriteRule ^asd/(.*?)/?$ modules/asd/$1.php	This rule was not met.
34	RewriteRule ^pay/?$ modules/pay/index.php	This rule was not met.
35	RewriteRule ^pay/(.*?)/(.*?)/?$ modules/pay/$1/$2	This rule was not met.
36	RewriteRule ^logout/?$ modules/logout/index.php	This rule was not met.
37	RewriteRule ^secure/?$ modules/captcha/index.php	This rule was not met.
38	RewriteRule ^chat/?$ modules/chat/index.php	This rule was not met.
39	RewriteRule ^chat/(.*?)/?$ modules/chat/$1.php	This rule was not met.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2018-03-12
@shambler81

RewriteRule ^f.min.reg/?$ /inc/forms/mini_reg.php - this is a domain, it is not included in the URL, you need to work with it through rewrite cond
all the rest with a quantifier, what should you do ?$?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question