Git Product home page Git Product logo

Comments (9)

JamieSlome avatar JamieSlome commented on May 27, 2024 1

@mickgeek - thanks for your response. Feel free to check out the issue here:

https://huntr.dev/bounties/c717b606-c214-4928-9fba-5588171e7b18/

from yii2-advanced-one-domain-config.

mickgeek avatar mickgeek commented on May 27, 2024 1

Thank you for the report.

In the configuration you can comment the block that prevent the redirect to the address with the trailing slash:

location = /admin {
    try_files $uri /backend/web/index.php$is_args$args;
}

After it the /admin request will be redirect automatically.

Also if you have a big project, follow these recommendations:

  • define the user directive and use specific permissions to directories and files (e.g. 700 (-rwx------));
  • separate the frontend and backend parts to different domains.

from yii2-advanced-one-domain-config.

mickgeek avatar mickgeek commented on May 27, 2024 1

If you need to use the apache.conf configuration, just comment the below rule:

RewriteRule ^/admin$ /admin/ [L,PT]

About permissions, any service can execute from any user. See also information about Suexec.

from yii2-advanced-one-domain-config.

mickgeek avatar mickgeek commented on May 27, 2024

Hi.

Thanks. You can write about a vulnerability here if it exists, just create a new issue.

from yii2-advanced-one-domain-config.

PrplHaz4 avatar PrplHaz4 commented on May 27, 2024

Is this limited to the included nginx configuration only or is it also present in the apache config?

from yii2-advanced-one-domain-config.

JamieSlome avatar JamieSlome commented on May 27, 2024

@mickgeek - if possible, are you able to update the status of the report?

from yii2-advanced-one-domain-config.

mickgeek avatar mickgeek commented on May 27, 2024

Sorry, I do not have an account on this site.

from yii2-advanced-one-domain-config.

JamieSlome avatar JamieSlome commented on May 27, 2024

@mickgeek - no worries 👍 Do you have an e-mail I can send a magic URL to? This will allow you to update the report without having to sign-up.

from yii2-advanced-one-domain-config.

mickgeek avatar mickgeek commented on May 27, 2024

You can find contacts on the profile page.

from yii2-advanced-one-domain-config.

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.