Quantcast
Channel: OCPsoftRewrite with subdomain is avaible? – OCPsoft
Browsing latest articles
Browse All 36 View Live

Reply To: Rewrite with subdomain is avaible?

I think this rule is causing the failure: .addRule() .when(Domain.matches("dashboard.java.new.domain.net")) .perform(Forward.to("/pages/dashboard/index.xhtml")); If the request is sent to...

View Article


Reply To: Rewrite with subdomain is avaible?

Config: @RewriteConfiguration public class ConfigurationProvider extends HttpConfigurationProvider { @Override public Configuration getConfiguration(final ServletContext context) {...

View Article


Reply To: Rewrite with subdomain is avaible?

Looks like and endless forward to me… Could you post your full configuration and which URL you requested when you got this?

View Article

Reply To: Rewrite with subdomain is avaible?

Ok, that is all logs from this ERROR. 2014-11-10T21:44:32.905+0100|Warning: StandardWrapperValve[default]: Servlet.service() for servlet default threw exception javax.servlet.ServletException:...

View Article

Reply To: Rewrite with subdomain is avaible?

Ok so two possibilities: 1. Use that: .when(Domain.matches(“dashboard.domain.com”)) directly with xHTML file like:...

View Article


Reply To: Rewrite with subdomain is avaible?

hey Kris, In order to help with this problem, I need to see the full error, and your configuration 🙂 Also, I’m not sure I understand your question. Could you clarify what you mean by, “but with xhtml...

View Article

Reply To: Rewrite with subdomain is avaible?

Ok I get your example and change dashboard.{*}.com to main domain dashboard.domain.com ( just example ) and after redeploy I have error: HTTP Status 500 – Internal Server Error...

View Article

Reply To: Rewrite with subdomain is avaible?

Hi, yes, the pre-packaged condition you are looking for is “Domain.matches()”. Without knowing what you’re doing, I’m guessing you’ll want to extract values out of the domain (such as:) .addRule()...

View Article


Rewrite with subdomain is avaible?

Hello, I’am new in Java EE and I fount PrimeFaces few days ago. Everythink is good until I use rewrite domain.com/somethink, but I need use it with subdomain, example: Currently I have...

View Article

Browsing latest articles
Browse All 36 View Live