<div dir="ltr">Do you have mod rewrite enabled? You can check and see if you have a file located at /etc/apache2/mods-enabled/rewrite.conf (or something like that).<div><br></div><div style>Do you need RewriteBase? <a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase">http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase</a> Some servers seem to require it.</div>
<div style><br></div><div style>R=301 is return HTTP Status code 301 <a href="http://httpd.apache.org/docs/current/rewrite/flags.html#flag_r">http://httpd.apache.org/docs/current/rewrite/flags.html#flag_r</a></div><div style>
L documentation is at <a href="http://httpd.apache.org/docs/current/rewrite/flags.html#flag_l">http://httpd.apache.org/docs/current/rewrite/flags.html#flag_l</a></div></div><div class="gmail_extra"><br clear="all"><div>- Joshua Estes<br>
<br>@JoshuaEstes<br><br>"If you live periods of your life in misery, when you remember back to those times, all you'll remember is the misery. The misery robs you of great memories you could otherwise be making."</div>

<br><br><div class="gmail_quote">On Sat, Apr 13, 2013 at 8:18 PM, rdflowers <span dir="ltr"><<a href="mailto:base@chalice.us" target="_blank">base@chalice.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don't have root access, so I have to use a .htaccess file. It doesn't work. It is:<br>
<br>
RewriteEngine on<br>
RewriteCond %{HTTP_HOST} ^<a href="http://sayma.org" target="_blank">sayma.org</a>$ [OR]<br>
RewriteCond %{HTTP_HOST} ^<a href="http://www.sayma.org" target="_blank">www.sayma.org</a>$<br>
RewriteRule ^/?$ "http\:\/\/sayma\.org\/top" [R=301,L]<br>
<br>
(1)<br>
WTH not ???<br>
<br>
(2)<br>
What is this [R=301,L] thing.<br>
<br>
<br>
Thanks in advance for any help.<br>
<br>
--<br>
R. D. Flowers, Chattanooga, TN, USA<br>
<a href="http://chalice.us/poe/" target="_blank">http://chalice.us/poe/</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Chugalug mailing list<br>
<a href="mailto:Chugalug@chugalug.org" target="_blank">Chugalug@chugalug.org</a><br>
<a href="http://chugalug.org/cgi-bin/mailman/listinfo/chugalug" target="_blank">http://chugalug.org/cgi-bin/<u></u>mailman/listinfo/chugalug</a><br>
</blockquote></div><br></div>