just use simple php script
look for php redirection.

its more simple than mod rewrite :)



On 2/20/06, Ralph G. Bagaipo <[EMAIL PROTECTED]> wrote:
> 1.
> you should have a DNS entry like this:
>
> mycompany.com.       A        <your_IP>
> www                  CNAME    mycompany.com.
>
>
> 2. and use Apache's mod_rewrite
>
>
> > Hello People,
> >
> > In my DNS setting I added A record of www for our company website.
> >
> > It works, when you go to http://www.mycompany.com; it resolves and it
> > shows the website content.
> >
> > But in addition, I want also some kind of redirection or mapping (i
> > don't know what you called that) that when people go to
> > http://mycompany.com (without www), it should forward also to the www
> > server.
> >
> > How to do it? Thanks in advance.
> >
> > S.Tux
> > _________________________________________________
> > Philippine Linux Users' Group (PLUG) Mailing List
> > [email protected] (#PLUG @ irc.free.net.ph)
> > Read the Guidelines: http://linux.org.ph/lists
> > Searchable Archives: http://archives.free.net.ph
> >
>
>
> ----
> Ralph G. Bagaipo, CCNA
>
> http://ralph.gotdns.org
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>


--
-----------------------------------------------------------
Philippines WiFi enabled barangay
http://BarangayWireless.net
" who said internet is only for the city? "

-----------------------------------------------------------
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to