How to delete a rule via directory structure.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to delete a rule via directory structure.

Saurabh Tripathi

Hi Everyone,

As I tried to block /api calls, I have added a rule under Marketing Rules to redirect all /api call to 404 page.

On doing so, I have lost admin login screen.

Without login is there any way to revert it from the backend directory structure.

Thanks



Sent from the dotCMS Users Group mailing list archive at Nabble.com.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1512556111502-0.post%40n5.nabble.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to delete a rule via directory structure.

kiran.pathipaka
hi saurabh,

you can disable rule from modifying dot_rule table.

thanks,
kiran.

On Wednesday, December 6, 2017 at 3:58:33 PM UTC+5:30, Saurabh Tripathi wrote:

Hi Everyone,

As I tried to block /api calls, I have added a rule under Marketing Rules to redirect all /api call to 404 page.

On doing so, I have lost admin login screen.

Without login is there any way to revert it from the backend directory structure.

Thanks



Sent from the <a href="http://forumarchive.dotcms.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fforumarchive.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFYjLhPlfmVKUY4_y6h83kFQKhMxw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fforumarchive.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFYjLhPlfmVKUY4_y6h83kFQKhMxw&#39;;return true;">dotCMS Users Group mailing list archive at Nabble.com.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2c02fbaa-5d27-4d4a-8d54-9eb79d68bae3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to delete a rule via directory structure.

Saurabh Tripathi

Hi Kiran,

Thanks for your support, can you please suggest where i can find this (dot_rule) table within the directory structure.

Thanks.



Sent from the dotCMS Users Group mailing list archive at Nabble.com.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1512556986562-0.post%40n5.nabble.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to delete a rule via directory structure.

kiran.pathipaka
hi saurabh,

"dot_rule"  is dotCMS database table.

thanks
kiran

On Wednesday, December 6, 2017 at 4:13:09 PM UTC+5:30, Saurabh Tripathi wrote:

Hi Kiran,

Thanks for your support, can you please suggest where i can find this (dot_rule) table within the directory structure.

Thanks.



Sent from the <a href="http://forumarchive.dotcms.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fforumarchive.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFYjLhPlfmVKUY4_y6h83kFQKhMxw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fforumarchive.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFYjLhPlfmVKUY4_y6h83kFQKhMxw&#39;;return true;">dotCMS Users Group mailing list archive at Nabble.com.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8b7e4014-6802-4a2b-8468-532b71f75d19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.