.htaccess crashes


#1

Whenever I update the .htaccess file, it crashes my website. It takes down both domains, not just the domain that I put the .htaccess file in. After about an hour, my sites come back up.

What am I doing wrong? My file has the following in it:

RewriteEngine on
RewriteRule ^wiki/(.+)$ wiki/$1 [L]
RewriteRule ^(.*)$ wiki/wiki.phtml?title=$1 [L]


#2

[quote]RewriteRule ^wiki/(.+)$ wiki/$1 [L]

[/quote]

That looks like an endless loop to me.

If someone requests page:

/wiki/foo

You instruct the server to re-direct to:

/wiki/foo

See the problem? Looks to me like you’re going round in circiles all day.

  • wil