NYCPHP Meetup

NYPHP.org

[nycphp-talk] Subdomain mod_rewrite

Jake McGraw jmcgraw1 at gmail.com
Fri May 9 16:42:48 EDT 2008


> http://something.domain.com -> rewrite -> http://www.domain.com/something

Wouldn't you need to set this up in your virtual hosts file?

Something like this:

http://httpd.apache.org/docs/2.0/vhosts/mass.html

- jake

On Fri, May 9, 2008 at 4:37 PM, Hans Zaunere <lists at zaunere.com> wrote:
> Hello,
>
> The ever fashionable mod_rewrite is throwing me for a loop.  Here's the
> scenario:
>
> http://something.domain.com -> rewrite -> http://www.domain.com/something
>
> Any pointers/examples on how to do this with mod_rewrite?
>
> Thanks much,
>
> H
>
>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



More information about the talk mailing list