Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-26 Thread Ashley Sheridan
On Mon, 2009-10-26 at 07:46 +0530, kranthi wrote: > you have to type the relative path to your document root for every URI) > > seems you are looking for > http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#RewriteCond I don't think that will do what he wants. Consider the following two exa

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread kranthi
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#RewriteCond

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread דניאל דנון
As Ashley said, its the wrong way to approach this problem. I suggest you read about "base href". (http://."; /> ) it is a HTML tag. On Sun, Oct 25, 2009 at 6:51 PM, Rob Gould wrote: > Isn't there a way to tell the Rewrite rule to skip anything found in a js > or images subfolder? > > > >

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread Ashley Sheridan
On Sun, 2009-10-25 at 12:51 -0400, Rob Gould wrote: > Isn't there a way to tell the Rewrite rule to skip anything found in a > js or images subfolder? > > > On Oct 25, 2009, at 12:26 PM, Ashley Sheridan wrote: > > > On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote: > >> > >> I'm trying to f

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread Rob Gould
Isn't there a way to tell the Rewrite rule to skip anything found in a js or images subfolder? On Oct 25, 2009, at 12:26 PM, Ashley Sheridan wrote: On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote: I'm trying to follow the RewriteRule docs to make it so that: http://benchwarmersports.

Re: [PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread Ashley Sheridan
On Sun, 2009-10-25 at 11:04 -0400, Rob Gould wrote: > I'm trying to follow the RewriteRule docs to make it so that: > > http://benchwarmersports.com/packages/super-bowl-xliv/1 > > can be entered into the web-browser, and it transforms into: > > http://benchwarmersports.com/packages.php?title=

[PHP] RewriteRule to hide PHP vars in URL

2009-10-25 Thread Rob Gould
I'm trying to follow the RewriteRule docs to make it so that: http://benchwarmersports.com/packages/super-bowl-xliv/1 can be entered into the web-browser, and it transforms into: http://benchwarmersports.com/packages.php?title=super-bowl-xliv&eventid=1 The good news is that it does transform