Add Apache vhost config for deployment (rss-feed.local)

This commit is contained in:
Harwinder Sekhon
2026-10-05 19:00:33 -04:00
parent 41f07b6ad8
commit a6c27404e5
+20
View File
@@ -0,0 +1,20 @@
<VirtualHost *:80>
ServerName rss-feed.local
ServerAlias www.rss-feed.local
DocumentRoot /var/www/RSS-Feed
<Directory /var/www/RSS-Feed>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
DirectoryIndex index.php index.html
<FilesMatch "^(composer\.(json|lock|phar)|\.gitignore)$">
Require all denied
</FilesMatch>
ErrorLog ${APACHE_LOG_DIR}/rss-feed-error.log
CustomLog ${APACHE_LOG_DIR}/rss-feed-access.log combined
</VirtualHost>