Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: automatically converting a URL to www

by jethro (Monsignor)
on Feb 11, 2014 at 22:12 UTC ( [id://1074527]=note: print w/replies, xml ) Need Help??


in reply to automatically converting a URL to www

Yes, (in case you run apache) the easiest way is to create a virtual host that redirects to the generic address. See for example http://blog.bartlweb.net/2011/04/redirect-via-apache-virtualhost/ for the simple recipe.

  • Comment on Re: automatically converting a URL to www

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1074527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2025-07-20 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.