Thanks for pointing me in the right direction, guys.

http://xmlns.filsa.net/ should rewrite you to .ORG.


thanks!

phil


* note: the [R] flag at the end of the RewriteRule is important!

==== from my httpd.conf =====

## xmlns.filsa.org ##
<VirtualHost 208.184.74.222>
     ServerAdmin [EMAIL PROTECTED]
     ServerName xmlns.filsa.org
     ServerAlias xmlns.filsa.net

     DocumentRoot /www/xmlns.filsa.org
     Group nobody
     User nobody

     ErrorLog /var/log/httpd/xmlns.filsa.org/error_log
     CustomLog /var/log/httpd/xmlns.filsa.org/agent_log agent
     CustomLog /var/log/httpd/xmlns.filsa.org/referer_log referer
     CustomLog /var/log/httpd/xmlns.filsa.org/access_log combined

     ScriptAlias /cgi-bin/ /www/xmlns.filsa.org/cgi-bin/

     RewriteEngine on
     RewriteCond %{HTTP_HOST}    !^xmlns.filsa.org [NC]
     RewriteCond %{HTTP_HOST}    !^$
     RewriteCond %{SERVER_PORT}  !^80$
     RewriteRule ^/(.*)    http://xmlns.filsa.org:%{SERVER_PORT}/$1 [R]
     RewriteCond %{HTTP_HOST}    !^xmlns.filsa.org [NC]
     RewriteCond %{HTTP_HOST}    !^$
     RewriteRule ^/(.*)          http://xmlns.filsa.org/$1 [R]
</VirtualHost>


GPG [ Key Id: 0x1E766390 | http://filsa.net/keys ]

Reply via email to