On Thu, Jun 05, 2003 at 10:10:50PM -0400, [EMAIL PROTECTED] wrote:
> The reason I'm sending you this message is two. As the people I talked to
> at the last meeting know I'm a Perl n0obie I wonder if you can with Perl
> make an URL entered with the bleeping www. entered.
> 
> e.g. enter www.domainname.org redirects to domainname.org

Try something like this in your apache config,

<VirtualHost 195.82.114.220>
        ServerName www.paulm.com

        RedirectPermanent / http://paulm.com/
        TransferLog /dev/null
</VirtualHost>

Make sure you have an A record for your domain. (If you don't know how
to do that, ask your DNS admin or
http://www.tldp.org/HOWTO/DNS-HOWTO.html)

$ host paulm.com
paulm.com               A       195.82.114.220
$

HTH,
Paul

-- 
Paul Makepeace ....................................... http://paulm.com/

"If I sat on a monkey, then your a virgin."
   -- http://paulm.com/toys/surrealism/

Reply via email to