I am trying to setup a URL redirect for a Q&A site I am setting up for Boat Repairs. I want boatrepaired.com
to go to www.boatrepaired.com
. I am generally a php guy so I am a bit confused with python etc. used by OSQA. I added this to my apache conf file...
<Directory /opt/OSQA/>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^boatrepaired\.com [NC]
RewriteRule ^(.*)$ http://www.boatrepaired.com/$1 [L,R=301]
</Directory>
It somewhat works by sending boatrepaied.com to ... www.boatrepaired.com/osqa.wsgi/
If I remove off the $1 on line 5 it works perfect except it redirects everyone back to the front page. Any help would be appreciated.
Thanks,
Chris