R
R
realt2017-04-20 23:20:05
Apache HTTP Server
realt, 2017-04-20 23:20:05

How to allow access to the page in htaccess?


addDefaultCharset utf8;
RewriteEngine on
RewriteCond $1 !^(index\.php|app|landing|robots\.txt|favicon\.png|files|politic.html|httploaders.txt|site|SQLyogTunnel\.php)
RewriteRule ^(.*)$ index.php?/$1[L]

Now this is written in .htaccess.
I have a folder on the server that contains the landing page. It is called /papkaland/
How can I allow htaccess to go to this page so that an error is not thrown. Help me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gpk, 2017-04-20
@realt

If Apache 2.4:
If Apache 2.2:
and here in more detail - https://habrahabr.ru/post/165701/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question