Giter VIP home page Giter VIP logo

alpine-apache-php's People

Contributors

ciscowire avatar eriksoderblom avatar williamdes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

alpine-apache-php's Issues

Not working with Drupal

It might be a little bit off topic but I couldn't find any solution to this when I try installing a Drupal site, I think we're missing some extensions here. Any help would appreciated
image

Output logs to docker

    # Add TransferLog after ErrorLog and set LogLevel to info
    sed -i 's#^ErrorLog .*#ErrorLog "/dev/stderr"\nTransferLog "/dev/stdout"#g' /etc/apache2/httpd.conf && \
    sed -i 's#^LogLevel .*#LogLevel info#g' /etc/apache2/httpd.conf && \

Ref: https://stackoverflow.com/a/45471084/5155484

My full config

    # Change ErrorLog
    # Add TransferLog after ErrorLog
    # Re-define CustomLog and LogLevel
    # Re-define CustomLog and LogLevel on ssl conf
    sed -i 's#^ErrorLog .*#ErrorLog "/dev/stderr"\nTransferLog "/dev/stdout"#g' /etc/apache2/httpd.conf && \
    sed -i 's#CustomLog .* combined#CustomLog "/dev/stdout" combined#g' /etc/apache2/httpd.conf && \
    sed -i 's#^ErrorLog .*#ErrorLog "/dev/stderr"#g' /etc/apache2/conf.d/ssl.conf && \
    sed -i 's#^TransferLog .*#TransferLog "/dev/stdout"#g' /etc/apache2/conf.d/ssl.conf && \
    sed -i 's#^LogLevel .*#LogLevel info#g' /etc/apache2/httpd.conf && \

Add support for ssl self signed

Just add apache2-ssl package

But it requires to replace DocumentRoot in the ssl config


    sed -i 's#^DocumentRoot ".*#DocumentRoot "/htdocs"#g' /etc/apache2/conf.d/ssl.conf && \
    sed -i 's/#ServerName\ www.example.com:80/ServerName\ website-domain.local:8081/' /etc/apache2/conf.d/ssl.conf && \

License

Please add a license.

Love your docker and I would love to use it in one of my projects.

A GitHub license is a legal document that gives people the right to use, modify, and distribute your project. Without a GitHub license, people would not be able to legally fork and distribute your project.

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.