<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Petko, you are a gem! Thanks much<br>
<br>
Petko Yotov wrote:
<blockquote cite="mid:200912310350.26764.5ko@5ko.fr" type="cite">
<pre wrap="">On Tuesday 29 December 2009 07:38:03, Petko Yotov wrote :
</pre>
<blockquote type="cite">
<pre wrap=""> RewriteCond %{REQUEST_FILENAME} !-f # if not a file,
RewriteCond %{REQUEST_FILENAME} !-d # and not a dir,
RewriteCond %{REQUEST_FILENAME} !-l # and not a link,
</pre>
</blockquote>
<pre wrap=""><!---->
Wade let me look at his server and settings and I could fix the problem.
I have to apologize to Wade and to the list, the above lines which I suggested
before, trigger an internal server error.
The #-comments in .htaccess are not allowed in the middle of a line.
Removing # and what that follows to the end of the line, fixes everything.
So, his working root .htaccess file now contains the following:
RewriteEngine On
RewriteBase /
# requests for example.net / , send directly to PmWiki and exit
RewriteRule ^$ /pmwiki/pmwiki.php [QSA,L]
# requests for example.net/Something
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# and looks like a PmWiki request, send to PmWiki
RewriteRule ^([A-Z0-9\x80-\xFF].*)$ /pmwiki/pmwiki.php?n=$1 [QSA,L]
Thanks,
Petko
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre>
</blockquote>
</body>
</html>