folderweb/development/apache/default.conf
Ruben 4c697122ab Add demo content and documentation for FolderWeb
Add about page with project philosophy and technical details

Add articles about Markdown, templates, and getting started

Implement demo content system that shows when no user content exists

Update logo to show FolderWeb branding

Improve Apache configuration for development environment
2025-11-01 16:47:15 +01:00

20 lines
609 B
Text

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory /var/www/html>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex disabled
# Route all requests through the router
RewriteEngine On
# Don't rewrite if it's already going to /app/
RewriteCond %{REQUEST_URI} !^/app/
RewriteRule ^(.*)$ /app/router.php [L,QSA]
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>