regex - HTACCESS, not on a certain page -


I would like to verify that a user enters a website through one of the following URLs < Pre> (n | nl | fray | d | s | pl | sv | it | cs | l | fi | hu] / (home | business | product | contact | faack | gallery | video | locator] < / Code>

And, I want to redirect the user to a 404 page.

I tried to do this:

  RewriteRule! ^ ((En | nl) 404) $ / 404 [L, R =   

But this gives me a routing loop.

Any ideas on how to solve it?

< Div class = "post-text" itemprop = "text">

Use this:

  rewrite the line% {REQUEST_FILENAME}! ^ 404 | (?: CSS | JS | JPG | GIF | PNG) $ [NC] RERET IR! ^ (N | nl | FR | DOS | PL | SV | IT | CS | L | Fi | HU) / (Home | Business | Products | Contact | Fake | Gallery | Video | Locator) - [L, R = 404]    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -