2
Contributors
9
Replies
10
Views
7 Years
Discussion Span
Last Post by cwarn23
0

There is a special way of doing it and is totally different to the php if statement. But the way you do it varies depending on what the condition is. Could you tell us what you are trying to test/check/ifcheck.

0

how to restrict if a particular url came , some of the condition that should not to execute...

-1

how to restrict some of the condition if a particular url came ...

Thanks...

0

Thanks for ur reply,

But its not check if the url is a specific location...
I specified some url in .htaccess with some condition but those condition should not check for a particular url... how can i do this...

Thanks in advance...

0
RewriteCond %{REQUEST_URI} test/withregex/index\.php
#something to do here

Edited by cwarn23: n/a

0

how can i use if conditon in it...

Like the following

RewriteCond %{REQUEST_URI} test/withregex/index\.php
#something to do here

Where as the first line is the if condition and the second line is what to do if it passes.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.