Giter Club home page Giter Club logo

Comments (3)

michalcukierman avatar michalcukierman commented on June 11, 2024

Actually, the link should be to:
http://localhost/Homepage.html, or even http://localhost

http://localhost:8080/content/luna/pages/Homepage.html is still rendered on Sling-based engine, where localhost:80 is handled by Nginx.
This may be tricky to implement, because:

  • Nginx may have its own rules for structuring the site.
  • It will be different on DXP, where the Nginx may be replaced with i.e. Vert.x-based solution or using cloud LB instead.

I agree that the functionality is desired, we just need to think about where it should be implemented.
Maybe we could have a Nginx component, which will handle the redirect, as it's the Load Balancer responsibility to create final URL, not CMS one.

Something like:
localhost:80/whereis?page=/content/luna/Pages/Homepage.html which will result in 302 redirect to localhost:80.
@pawel-boguski-ds maybe this component should be used for the URL's shortening in the publishing framework (unlikely, but worth to discuss).

@tomaszmichalak @malaskowski FYI

from starter.

michalcukierman avatar michalcukierman commented on June 11, 2024

The decision to make: What should be the SSoT for domains/paths configurations? Do we need SSot?

from starter.

paweljozwicki avatar paweljozwicki commented on June 11, 2024

Introduced in WebSight CMS 1.20.0

from starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.