title: RewriteRule: unknown flag 'QSD'
body: <p>I copied the working code on xampp and then pasted it on the live .htacces file and now I get 500 server error.</p>
  
  <p>The error log reads <code>RewriteRule: unknown flag 'QSD'</code></p>
  
  <pre><code>    Options +FollowSymLinks -MultiViews
  RewriteEngine On
  RewriteBase /
  RewriteRule ^/?inbox/([\d.a-zA-Z]*)$ /inbox?pg=$1 [QSD,L]
  RewriteRule ^/?sent/([\d.a-zA-Z]*)$ /sent?pg=$1 [QSD,L]
  RewriteRule ^/?deleted/([\d.a-zA-Z]*)$ /deleted?pg=$1 [QSD,L]
  RewriteRule ^/?view/([\d.a-zA-Z]*)$ /view?content=$1 [QSD,L]
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}\.php -f
  RewriteRule ^(.*)$ $1.php [QSA,L]
  </code></pre>