Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: automatically converting a URL to www

by jethro (Monsignor)
on Feb 11, 2014 at 22:12 UTC ( #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
Node Status?
node history
Node Type: note [id://1074527]
help
Chatterbox?
[choroba]: I should probably apply for a job somewhere abroad.
[LanX]: nope this one One day the triangle player of an orchestra gets very ill and goes to the hospital.. ..
[LanX]: don't go to Great Brexitan ... :)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2017-10-21 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (270 votes). Check out past polls.

    Notices?