Thanks Phil.
You just fixed my issue.
Much appreciated.
Philip Wigg wrote:
>
>> RewriteRule products/specials(.*) /products/index.php?view=specials&$1=$2
>> [L]
>>
>> The rewritten url is close but still has the trailing '='.
>
> What you've put there is different to what I suggested, sinc
> RewriteRule products/specials(.*) /products/index.php?view=specials&$1=$2 [L]
>
> The rewritten url is close but still has the trailing '='.
What you've put there is different to what I suggested, since you've
kept the =$2 at the end. I still have a feeling this won't be totally
what you need th
Hi Phil,
Thanks for the reply.
I changed the rule to use a single (.*) but the result was the same.
Here is an example of the url entered ..
http://www.mysite.com/products/specials&filter=20
and expecting
http://www.mysite.com/products/index.php?view=specials&filter=20
RewriteRule products/
> I have the following rewrite rule ..
>
> RewriteRule products/specials(.*)(.*)
> /products/index.php?view=specials&$1=$2 [L]
>
> http://www.mysite.com/products/specials&filter=20
> --> http://www.mysite.com/products/index.php?view=specials&filter=20=
>
> The problem is the trailing '='
>
> I have
Hi All,
I have the following rewrite rule ..
RewriteRule products/specials(.*)(.*)
/products/index.php?view=specials&$1=$2 [L]
http://www.mysite.com/products/specials&filter=20
--> http://www.mysite.com/products/index.php?view=specials&filter=20=
The problem is the trailing '='
I have also t
On Wed, Sep 2, 2009 at 1:15 PM, Andrew Hole wrote:
> It works. However, i'm getting a popup with file save option and I would
> like to see the page on Browser.
That is probably due to an incorrect content type header. Have a look
at what the server sends with an appropriate tool (Firebug or
HTTPH
It works. However, i'm getting a popup with file save option and I would
like to see the page on Browser.
Thanks a lot
On Wed, Sep 2, 2009 at 11:41 AM, Krist van Besien wrote:
> On Wed, Sep 2, 2009 at 12:02 PM, Andrew Hole
> wrote:
> > Hi guys!
> >
> > The following directive doesn't take into
On Wed, Sep 2, 2009 at 12:02 PM, Andrew Hole wrote:
> Hi guys!
>
> The following directive doesn't take into consideration the filename in URL:
> RewriteCond %{DOCUMENT_ROOT}/bin/core/%1 -f
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{DOCUMENT_ROOT}/bin/core/%1 -f
> RewriteRu
Hi guys!
The following directive doesn't take into consideration the filename in URL:
RewriteCond %{DOCUMENT_ROOT}/bin/core/%1 -f
In this request the REQUEST_FILENAME has the value: /bin/adt/file.swf but I
just want the filename (file.swf).
How can I do that?
Thanks a lot
RewriteCond %{R