https://github.com/turbobasic/apacheconfig
Configuration of Apache 2.4 server: mass vhosts for Magento 2 stores, multistore configurations for Magento 2
https://github.com/turbobasic/apacheconfig
apache magento magento2
Last synced: about 1 year ago
JSON representation
Configuration of Apache 2.4 server: mass vhosts for Magento 2 stores, multistore configurations for Magento 2
- Host: GitHub
- URL: https://github.com/turbobasic/apacheconfig
- Owner: turboBasic
- Created: 2018-07-22T04:20:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T16:33:57.000Z (over 7 years ago)
- Last Synced: 2025-01-22T16:45:54.223Z (over 1 year ago)
- Topics: apache, magento, magento2
- Language: JavaScript
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Configuration files for Apache 2.4 server
All paths and commands used in this README and in other files imply Ubuntu host with systemd.
DNS should be already configured and point '*.*.*.dev' hostname to local machine
## Generic configuration files
```
apache2.conf - main config file
ports.conf - ports config file
sites-available/000-default.conf - default virtual host (http://dev -> /var/www/default/)
sites-available/001-php.dev.conf - generic php host (http://php.dev -> /var/www/php.dev/)
```
## Configurations for Magento 2 stores
```
sites-available/002-magento-multistore.conf - virtual hosts for multi-store magento sites (eg. de.site.m.dev / en.site.m.dev / es.site.m.dev -> /var/www/site/)
sites-available/003-magento.conf - mass virtual hosts for single-store magento sites (http://*.m.dev -> /var/www/magento/*/)
```
## Container of all sites: /var/www directory
```
www/default/ - site described in 000-default.conf
www/php.dev/ - site described in 001-php.dev.conf
www/magento/*/ - sites described in 002-magento-multistore.conf and 003-magento.conf
```
## Installation
`bash ./install.sh`