curl -I http://test.server.com/jaco
HTTP/1.1 404 Not Found
Server: nginx
Content-Type: text/html;charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=8FFAXXXXXG66374F8E7122359654564; Path=/; HttpOnly
Set-Cookie: dmid=5ad44386-e559-4bf8-8a11-656f7e116adc; Max-Age=153792000; Expires=Mon, 26-Aug-2024 18:11:39 GMT; Path=/; HttpOnly
Date: Sat, 12 Oct 2019 18:11:39 GMT
X-Page-Speed: 1.13.35.2-0
Cache-Control: max-age=0, no-cache
NormalRule forwardRule = new NormalRule();
forwardRule.setFrom( "^/jaco" );
SetAttribute attribute = new SetAttribute();
attribute.setName(Constants.CMS_FILTER_URI_OVERRIDE);
attribute.setValue("/blogs/fortune-brands-value-is-about-to-be-unleashed");
forwardRule.addSetAttribute(attribute);
addRewriteRule( forwardRule );
curl -I https://demo.dotcms.com/jaco
HTTP/2 404
set-cookie: JSESSIONID=87C63810FB8FD830FC4F9B57D25EF331.455ec36a0a64; Path=/; Secure; HttpOnly
set-cookie: opvc=af2d99b9-41a9-47ad-988a-37ca8afcf1ba; Path=/
set-cookie: sitevisitscookie=1; Max-Age=153792000; Expires=Tue, 27-Aug-2024 15:15:43 GMT; Path=/
set-cookie: dmid=86abbbfd-ccba-4dda-997f-3f0e73baa925; Max-Age=153792000; Expires=Tue, 27-Aug-2024 15:15:43 GMT; Path=/
set-cookie: dmid=20459810-ae10-478e-a6d8-401ab92b25cd; Max-Age=153792000; Expires=Tue, 27-Aug-2024 15:15:43 GMT; Path=/
content-type: text/html;charset=UTF-8
date: Sun, 13 Oct 2019 15:15:43 GMT
set-cookie: BACKENDID=172.18.0.3; path=/
cache-control: private
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/746a6905-5b4e-4709-9c7d-74d0007a6495%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/746a6905-5b4e-4709-9c7d-74d0007a6495%40googlegroups.com.
location ~ ^/vanityURL/? {
rewrite ^/desireURLMapContentURL$1;
proxy_pass http://YOUR.IP. ADDRESS:YOURPORTNUMBER;
}
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/11b39664-f0fa-4071-8065-9deac4d1ae6f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CABzdpQmecW0hhck%3DbhHLqpeMn3BTem55FG3N04WQZuALKADQUA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgWBckN0aZc%2B7NkieBfpLHUe00OU27e2Q3xY3d9mokW9EA%40mail.gmail.com.