webui

314 views
Skip to first unread message

Rob V

unread,
Feb 3, 2014, 6:10:26 PM2/3/14
to rsp...@googlegroups.com
for some reason i can not get the webui to work. i have it proxying thru with apache and i get a 503 error. i have also tried to curl to the localhost on port 11336 and i get 404 Not Found errors. is there a particular path i need to proxy pass to or something else i need to configure?

thanks!

Vsevolod Stakhov

unread,
Feb 3, 2014, 6:15:28 PM2/3/14
to rsp...@googlegroups.com
Basically you need to pass requests to `rspamd/` path to rspamd webui
worker (which listens by default on port 11336). You can get more
debugging info by using your web browser addons, such as firebug for
firefox, by inspecting the requested URLs and replies from apache.

--
Vsevolod Stakhov

Rob V

unread,
Feb 3, 2014, 6:35:16 PM2/3/14
to rsp...@googlegroups.com
right did that, but like i said. it seems that even when i do a curl locally on the server to http://localhost:11336 i get a 404.


[root@c6 ~]# curl http://localhost:11336
<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL / was not found on this server.</p></body></html>

Rob V

unread,
Feb 3, 2014, 8:05:03 PM2/3/14
to rsp...@googlegroups.com
ok so if i go to any of the http paths specified in webui.c, like /login /symbols /actions...i get {"error":"unauthorized"} as a response.
problem is i never get a login. if i just go to / i get a 404.

so 
mydomain.com/rspamd/symbols -> shows me {"error":"unauthorized"}
mydomain.com/rspamd/ -> gives me 404 error

Vsevolod Stakhov

unread,
Feb 4, 2014, 7:45:59 AM2/4/14
to rsp...@googlegroups.com
On 04/02/14 01:05, Rob V wrote:

Yes, because these urls are intended to be accessed from rspamd
interface only:

https://github.com/vstakhov/rspamd-interface

It will be a part of rspamd from the upcoming 0.7 release.
> --
> You received this message because you are subscribed to the Google
> Groups "rspamd" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to rspamd+un...@googlegroups.com.
> Visit this group at http://groups.google.com/group/rspamd.


--
Vsevolod Stakhov
Reply all
Reply to author
Forward
0 new messages