Re: [EMAIL PROTECTED] Troubles w/mod_rewrite

2006-01-19 Thread Joshua Slive
On 1/19/06, Jason Williard <[EMAIL PROTECTED]> wrote: > > You were right... As soon as I removed the leading slash, the problem was > solved. But now I have another issue... > > While I want this rewrite to occur, I also want everything else to redirect > to a default URL. To do this, I added the

RE: [EMAIL PROTECTED] Troubles w/mod_rewrite

2006-01-19 Thread Jason Williard
You were right... As soon as I removed the leading slash, the problem was solved. But now I have another issue... While I want this rewrite to occur, I also want everything else to redirect to a default URL. To do this, I added the following: RewriteRule ^([0-9]{5}) http://.../weather.pl

RE: [EMAIL PROTECTED] Troubles w/mod_rewrite

2006-01-19 Thread Frank Wald
ck to see if you are getting what you want. Hope this helps! Frank -Original Message- From: Jason Williard [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 4:31 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Troubles w/mod_rewrite I added the RewriteLog directi

Re: [EMAIL PROTECTED] Troubles w/mod_rewrite

2006-01-19 Thread Joshua Slive
On 1/19/06, Jason Williard <[EMAIL PROTECTED]> wrote: > I added the RewriteLog directive to the .htaccess file and am now getting > Internal Error messages. When looking at the error logs, I get: > > [Thu Jan 19 13:20:08 2006] [alert] [client x.x.x.x] > /www/vhosts/domain.com/weather/.htaccess: Re

RE: [EMAIL PROTECTED] Troubles w/mod_rewrite

2006-01-19 Thread Jason Williard
I added the RewriteLog directive to the .htaccess file and am now getting Internal Error messages. When looking at the error logs, I get: [Thu Jan 19 13:20:08 2006] [alert] [client x.x.x.x] /www/vhosts/domain.com/weather/.htaccess: RewriteLog not allowed here The entry in the .htaccess file look

Re: [EMAIL PROTECTED] Troubles w/mod_rewrite

2006-01-19 Thread Joshua Slive
On 1/19/06, Jason Williard <[EMAIL PROTECTED]> wrote: > I have a site that shows weather forecasts. I would like create a > RewriteRule to redirect to the proper URL when someone appends their zipcode > to the base url. > > i.e. http://weather.domain.com/12345 -> > http://www.domain.com/cgi-bin/we