[nyphp-talk] Off Topic: Postgres user group

2008-05-09 Thread Justin Dearing
Hello, My name is Justin Dearing and I am new to this list. I was told that there was some interest in forming a NYC Postgresql group. That would be something I would be interested in participating in. If there is a more appropriate forum for discussing this feel free to contact me either on or o

RE: [nyphp-talk] Subdomain mod_rewrite

2008-05-09 Thread Hans Zaunere
> You will also want I think these suggestions will do it - love you all, and to all a good night. H ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com

Re: [nyphp-talk] Subdomain mod_rewrite

2008-05-09 Thread John Campbell
You will also want [R=301] instead of [R] ...assuming you care about search engines and want the reputation of the "something" subdomain to transfer to the "www" domain. -John C. ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailm

Re: [nyphp-talk] Subdomain mod_rewrite

2008-05-09 Thread Dan Cech
Hans Zaunere wrote: 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? You may want to try something like: RewriteCond %{SERVER_N

Re: [nyphp-talk] Subdomain mod_rewrite

2008-05-09 Thread Webmaster
I should actually read what you write eh Hans? lol Try replacing HTTP_REFERER with: HTTP_HOST or SERVER_ADDRESS Webmaster wrote: RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} ^http://(something\.)?domain.com/.*$ [NC] RewriteRule \.$ http://www.domain.com/something

Re: [nyphp-talk] Subdomain mod_rewrite

2008-05-09 Thread Webmaster
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} ^http://(something\.)?domain.com/.*$ [NC] RewriteRule \.$ http://www.domain.com/something [R,L] Hans Zaunere wrote: Hello, The ever fashionable mod_rewrite is throwing me for a loop. Here's the scenario: http://so

Re: [nyphp-talk] Subdomain mod_rewrite

2008-05-09 Thread Jake McGraw
> 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 <[EMAIL PROTECTED]> wrote: > Hello

[nyphp-talk] Subdomain mod_rewrite

2008-05-09 Thread Hans Zaunere
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 Yor