Iron is a extensible web framework for Rust.
Questions tagged [iron]
120 questions
0
votes
2 answers
iron:router how to redirect to a url with a different domain?
Question has been modified through progression
The 'result' value from the server is a unique url (that is not my domain) that I pass back to the client (see my Meteor.call function).
How can I direct the user to this url ?. Using iron:router…

meteorBuzz
- 3,110
- 5
- 33
- 60
0
votes
1 answer
MobileIron App Distribution Requirements
I'm developing an in-house app for a company which distributes their apps via MobileIron to their iPads. Until now they distributed only apps from the Appstore. I sent them an IPA file, but they are not able to install it. Does anybody know what the…

greg
- 33
- 4
0
votes
1 answer
Iron Router / Meteor : Except not working
I am trying to get the login process to work. basically, all routes should get redirected to "/login" if the user is not logged in. All except "/signup" and "/reset", because you obviously wont be logged in if you go there.
Router.configure({
…

Valentin Zambelli
- 149
- 1
- 10
0
votes
1 answer
Meteor Unable to Render Dynamic Templates
I am using Meteor with the iron:router package. I am trying to just render a basic template into a layout template, but keep receiving the error:
Exception from Tracker recompute function: Error: Couldn't find a template named "/" or "". Are you…

Kombo
- 2,371
- 3
- 34
- 64
0
votes
1 answer
Iron.io worker + Laravel 4 - mcrypt extension required
I am trying Iron Workers with Laravel 4. I managed to upload the code but it can't run it on the server because Laravel requires mcrypt extension. Does anyone know how can I install it on iron servers? I followed this tutorial but they don't say…

Cezar
- 15
- 3
0
votes
1 answer
How do redirect to the Sign Up Page in Accounts Entry
When I open the /overview page it redirects me to the NotFound Template. The problem is, that I know that this site exists. What I want is, that this site redirect to the SignIn page instead of the SiteNotFound Page.
Router.map(function () {
…

kuerbi
- 23
- 1
- 6
0
votes
0 answers
IronMq : mail doesn't send but the queue is working
I use IronMQ for to send my email since (laravel framework)
1. for signup email (it's oki with my SMTP and IronMQ)
2. Notification email (between users).
I'm a problem with the n°2 : iron receive the queue and It work but my SMTP don't receive the…

timothylhuillier
- 451
- 1
- 8
- 20
0
votes
1 answer
Laravel4 + Iron io: How to send mail using Mail::queue?
I have a laravel app with a form that when it is submitted will send a mail.
The mail configuration is working properly since the mail is received.
But since the process was quite slow i decided to use Queue.
I have set up Iron mq account and set it…

FrancescoMussi
- 20,760
- 39
- 126
- 178
0
votes
1 answer
Laravel 4 + Iron: How to register a queue?
I have setup a free account and create a first project: queue_test
I have followed this tutorial: http://vimeo.com/64703617 by Taylor Otwell and create a simple app that uses queues.
I put that app on the server.
The point is: How can i push the…

FrancescoMussi
- 20,760
- 39
- 126
- 178
0
votes
1 answer
iron_worker zip/zip (LoadError) error using iron_worker_ng gem
I am receiving this error when I'm using ironworker's iron_worker gem to upload and build my worker.
iron_worker upload results in
error:/usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- zip/zip…

Stephen Nguyen
- 5,357
- 5
- 24
- 28
0
votes
1 answer
Easy Cron Service?
I'm building a web-app that allows user to create notifications, with a custom date-time.
I considered using Cron-Jobs but the task of adding, editing, and deleting seems overly complicated. Especially in the case of 1 time notifications.
I looked…

Philip Kirkbride
- 21,381
- 38
- 125
- 225
-1
votes
1 answer
How do I create a server that serves API and falls back to disk using Iron?
I tried the following:
let mut router = Router:new();
router.get("/hello", |_: &mut Request| {
Ok(Response::with((status::Ok, "hello")))
}, "/hello");
let mut mount = Mount::new();
mount.mount("/", router)
.mount("/",…

Rogach
- 26,050
- 21
- 93
- 172
-2
votes
1 answer
How to change Iron's default 404 behaviour?
I want to change the default 404 behaviour in a small Iron application. I want to add some simple text content to it, nothing complicated like using templates.

Yves Dorfsman
- 2,684
- 3
- 20
- 28
-3
votes
1 answer
How to enable the threading feature in the Iron framework?
Does the Iron framework support multithreaded mode? How do I enable & configure it?

MajidTaheri
- 3,813
- 6
- 28
- 46
-4
votes
1 answer
How to find the current URL in Iron?
How can I find the current URL inside an action/function? I've not found anything related to this in the documentation.

Xwaro
- 5