Initial commit

This commit is contained in:
Ruben 2025-10-02 16:54:47 +02:00
commit 2994f7cf6d
16 changed files with 2766 additions and 0 deletions

View file

@ -0,0 +1,27 @@
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Alias for app assets (styles, fonts, etc.)
Alias /app/styles /var/www/custom/styles
Alias /app/fonts /var/www/custom/fonts
Alias /app/default-styles /var/www/app/default/styles
<Directory /var/www/custom/styles>
Require all granted
</Directory>
<Directory /var/www/custom/fonts>
Require all granted
</Directory>
<Directory /var/www/app/default/styles>
Require all granted
</Directory>
# Enable mod_rewrite
<IfModule !mod_rewrite.c>
LoadModule rewrite_module modules/mod_rewrite.so
</IfModule>

28
development/compose.yaml Normal file
View file

@ -0,0 +1,28 @@
version: '3.8'
services:
custom:
image: php:8.3.12-apache
container_name: folderweb-custom
working_dir: /var/www/html/
volumes:
- ../app:/var/www/app:z
- ../content:/var/www/html:z
- ../custom:/var/www/custom:z
- ../docs:/var/www/html/docs:z
- ./apache/custom.conf:/etc/apache2/conf-available/custom.conf:z
ports:
- "4040:80"
command: bash -c "a2enconf custom && a2enmod rewrite && apache2-foreground"
default:
image: php:8.3.12-apache
container_name: folderweb-default
working_dir: /var/www/html/
volumes:
- ../app:/var/www/app:z
- ../content:/var/www/html:z
- ../docs:/var/www/html/docs:z
- ./apache/custom.conf:/etc/apache2/conf-available/custom.conf:z
ports:
- "8080:80"
command: bash -c "a2enconf custom && a2enmod rewrite && apache2-foreground"