apache - URL rewrite fails after adding line to htaccess -


I have surrounded a small problem with my .htaccess and I can not fix it

  RewriteEngine # Force on SSL revocconde% {REQUEST_URI}! ^ / (Application | users) / revert rules ^ 5 / (.**) (/.) Html $ / ~ end / index.php?id=5& Page = $ 1 & Title = $ 2 Rev. Revenue ^ (. *) / (. *) Html $ / ~ ond / index.php? Id = $ 1 & titel = $ 2  

The above example works outright with a URL: www.domain.com/123/title Html However, I want to add another rule: RewriteRule ^ (. *) $ /~ond/index.php? ID = $ 1 [L]

When I add snippets to the bottom of my HTX, this will return the internal server error 500. The URLs used: www.domain.com/This_Is_a_Test

What am I doing wrong? This should be a very small problem.

Thank you.

This is generating 500 server error due to infinite looping only non-files, non-directory requests To allow RewriteCond to stop it, stop:

  RewriteCond at RewriteEngine% {REQUEST_URI}! ^ /? (Application | users) / revert rules ^ 5 / (.***) Html $ / ~ /ondexindex.php?id=5&page=$1&titel=$2 [L, QSA] Rewrite Rules ^ (. *) / (. *). Html $ /~ond/index.php?id=$1&titel=$2 [L, QSA] RewriteCond% {REQUEST_FILENAME}! -d RewriteCond% {REQUEST_FILENAME}! -f RewriteRule ^ (. *) $ / ~ / Index.fpp.id = $ 1 [L, QSA]  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -