Sunday, 15 September 2013

Playframework : http.path is set, but can't locate to home page

Playframework : http.path is set, but can't locate to home page

I've set the home path in application.conf:
http.path=/vcloud/
But now I can't access http://localhost:9000/vcloud/, I thought this path
should direct to my home page, but now it's an 404 error page.
Here's my routes:
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Home page
GET / Application.index
# Ignore favicon requests
GET /favicon.ico 404
# Map static resources from the /app/public folder to the /public path
GET /public/ staticDir:public
# Catch all
* /{controller}/{action} {controller}.{action}

No comments:

Post a Comment