Re: [EMAIL PROTECTED] .htaccess issue with Apache 2.0.59

2007-06-28 Thread Joshua Slive
On 6/28/07, Tom Ray [Lists] <[EMAIL PROTECTED]> wrote: Well I got it working. I ended up having to do it like this: RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.nwdyc\.org [NC] RewriteRule ^.* http://nwdyckids.tripod.com/ [R,L] RewriteCond %{HTTP_HOST} ^nwdyc\.org [NC] RewriteRule ^.* http:/

Re: [EMAIL PROTECTED] .htaccess issue with Apache 2.0.59

2007-06-28 Thread Tom Ray [Lists]
Well I got it working. I ended up having to do it like this: RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.nwdyc\.org [NC] RewriteRule ^.* http://nwdyckids.tripod.com/ [R,L] RewriteCond %{HTTP_HOST} ^nwdyc\.org [NC] RewriteRule ^.* http://nwdyckids.tripod.com/ [R,L] Making a separate conditio

Re: [EMAIL PROTECTED] .htaccess issue with Apache 2.0.59

2007-06-28 Thread John Schofield
I'm no .htaccess expert -- I'm at the "I've read the docs and gotten a few .htaccess rules working" stage. So take what I say with a grain of salt. 1) You need to escape the periods in your regexes. It should be ^www \.nwdyc\.org$, not ^www.nwdyc.org$. 2) Your rules will redirect traffic t

Re: [EMAIL PROTECTED] .htaccess issue with Apache 2.0.59

2007-06-28 Thread Tom Ray [Lists]
Well, DirectoryIndex works. So I'm assuming it is. I did put the gibberish in and I got a 500 error, so it's back to troubleshooting. John Schofield wrote: First thing I would try is putting gibberish in your .htaccess file, and see if you get an error when you load pages in the directory cont

Re: [EMAIL PROTECTED] .htaccess issue with Apache 2.0.59

2007-06-28 Thread John Schofield
First thing I would try is putting gibberish in your .htaccess file, and see if you get an error when you load pages in the directory containing the gibberish .htaccess file. If you don't get an error, Apache isn't loading your .htaccess file. If you DO get an error, you can take out the gi

[EMAIL PROTECTED] .htaccess issue with Apache 2.0.59

2007-06-28 Thread Tom Ray [Lists]
Hey, I'm using Apache 2.0.59 and I'm running into a bit of an issue here. I just can't seem to get the RewriteEngine command to work in .htaccess. I can get the other .htaccess directives (DirectoryIndex, password, etc) to work but not this. I have mod_rewrite.c in my list when I do httpd -l so