https://github.com/gitpod-io/apache-example
https://github.com/gitpod-io/apache-example
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gitpod-io/apache-example
- Owner: gitpod-io
- Created: 2019-03-23T09:40:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T16:52:17.000Z (over 2 years ago)
- Last Synced: 2025-07-20T03:21:45.802Z (11 months ago)
- Language: Dockerfile
- Size: 1.4 MB
- Stars: 13
- Watchers: 11
- Forks: 43
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example how to run the Apache Web Server in Gitpod.io
## Try or Contribute
open [https://gitpod.io#https://github.com/gitpod-io/apache-example](https://gitpod.io#https://github.com/gitpod-io/apache-example)
## What this Example does
* use the Dockerfile to configure Apache
* optional: use a custom and minimal apache.conf. If you don't do this, the default from workspace-full will be used.
* follow the Apache logs in the Gitpod Terminal View via multitail
* run apache on port 8080
## Terminal Commands to try
* `apachectl start` - start Apache Web Server (it's started automatically on workspace launch)
* `apachectl stop` - stop Apache Web Server
* `gp open /var/log/apache2/access.log` - Open Apache access.log in Gitpod editor
* `gp open /var/log/apache2/error.log` - Open Apache error.log in Gitpod editor
* `multitail /var/log/apache2/access.log -I /var/log/apache2/error.log` - View and follow logs in Terminal
## How it looks like
