Giter VIP home page Giter VIP logo

Comments (7)

schmunk42 avatar schmunk42 commented on August 15, 2024 1

I think we can enable rewrite in the Dockerfile.
@cebe, @samdark Do you also think it should be a default?

In the meantime add this to your projects Dockerfile:

RUN a2enmod rewrite 

from yii2-docker.

samdark avatar samdark commented on August 15, 2024 1

Yes, having it on by default is fine.

from yii2-docker.

dersonsena avatar dersonsena commented on August 15, 2024

I had to activate on the hand too! I think it would be quite useful to come with the rewrite module enabled.

Thank you!

from yii2-docker.

dersonsena avatar dersonsena commented on August 15, 2024

I made it here locally to work @schmunk42 @samdark @cebe. In my opinion this should come enabled. There will hardly be web applications that do not need this.

from yii2-docker.

gugatxr avatar gugatxr commented on August 15, 2024

I am doing in this way that you said @schmunk42.

from yii2-docker.

axklim avatar axklim commented on August 15, 2024

Enable mod_rewrite: #33

tested:

Step 14/14 : RUN if command -v a2enmod >/dev/null 2>&1;     then a2enmod rewrite; fi
 ---> Running in bb66db5d86a4
Enabling module rewrite.
To activate the new configuration, you need to run:
  service apache2 restart
Removing intermediate container bb66db5d86a4
 ---> 38a6d6208275
Successfully built 38a6d6208275
Successfully tagged local/yiisoftware/yii2-php:7.2-apache

and

Step 14/14 : RUN if command -v a2enmod >/dev/null 2>&1;     then a2enmod rewrite; fi
 ---> Running in f02c86ba121c
Removing intermediate container f02c86ba121c
 ---> ffce03fd2df5
Successfully built ffce03fd2df5
Successfully tagged local/yiisoftware/yii2-php:7.2-fpm

from yii2-docker.

schmunk42 avatar schmunk42 commented on August 15, 2024

fixed in #33

from yii2-docker.

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.