Tagged Questions

My site should attempt to serve all requests from a cache subdirectory (/app/storage/cache) such that a request for /two.html is served from /app/storage/cache/two.html
More examples:
/ served from ...

I have a simple controller that is supposed to respond to just show and index actions. In order to tighten up my routes, I have added the condition to only handle :show and :index. The problem is that ...

Check out this link:
http://www.mensfitness.com/nutrition/what-to-eat/top-10-energy-boosting-foods-and-drinks/slide/8
Notice that when you click the forward or back buttons on the slideshow, the url ...

Its quite obvious but cant seem to find an answer. I am using Angular with Asp.net MVC. I can comfortably write views/templates using Razor and link js file in it for controller. It work fine as user ...

I am working on a site in CodeIgniter.
I want my site users to select the city from a drop-down and then the content to be displayed on the basis of that city. For this I have two issues.
1) How can ...

For rapid prototyping of my concepts, I'm using Express with Mongo and so far have set up a mongostore cookie storage system.
My question: Is it possible, after logging in/authenticating/etc, to have ...

I've got controller named IHateYou, and got loads of views inside that I can access through typing ...\IHateYou\User1. I need to change the name of controller to Users in url, but the rest stays the ...

I am trying to set up a URL route in CI, something like:
$route['course/([a-zA-Z0-9_-]{2,32}+)/syllabus/([a-zA-Z0-9_-]{2,32}+)/([a-zA-Z0-9_-]{2,32}+)'] = "build/build_syllabus/$1/$2/$3"
What I wish ...

I'm using Django 1.8 and I can't figure out why one particular url isn't getting matched.
The url is /weapons. Django is adding a trailing slash to it which I believe is because of the APPEND_SLASH ...

I am working on a very basic SPA using Backbone.js. My app has few routes. Among them there are 2 that give me issues: the index route ("/#index") and menu route ("/#mainmenu").
A simple workflow in ...

I am working on my own small CMS and I am now on the routing solution for this.
I would like to create SEO friendly URLs like this one from Wordpress, but I would like to understand the logic behind ...

I am creating a webpage for events; the events section works, but I am getting an error that Ruby can't find a path from the front page of the website which queries the database for events.
The name ...

My scenario entails a route with a controller and view for state app.foo. When a user lands on this route via a menu-link, I would like UI-Router to always rerun/execute the controller -- as I have an ...

I'm building an Asp/.Net Web Application and I don't know how to create a URL Routing for make /blog/title-of-the-post redirect to post.aspx?id=2.
I already have on my database the column URL (and I ...

I am trying to implement a layer7 filter configuration in my openWRT router.i want to block a specific applications like wechat or whatsapp.
can anyone help me with sample configuration for this in ...

My mental model of the content for the website I am developing with Bolt is, that there are "sub pages":
each page(the content type) is related to one "sub page"
each "sub page" has its own menu and ...

I am making a Web application using Ruby on Rails now.
However, it may be in trouble.
Routing when the show action is invoked article (articles) that will be displayed is currently hoge.com/articles/ ...

I have a large web app with >100 routes defined, all using the server-side router of my framework. I'm in the process of switching over to ui-router for AngularJS, but need to be able to switch over ...

I am building a simple angular app, below is the sample code of my app.js it is working fine, the url is coming as "http://localhost:58539/#/" which is as expected, but i want the application name to ...