✨ Working: Auth, DB, view ticket
Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
23
vhost.conf
Normal file
23
vhost.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
<VirtualHost *:80>
|
||||
DocumentRoot /srv/public
|
||||
<Directory /srv/public>
|
||||
Options Indexes FollowSymLinks MultiViews
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
Order allow,deny
|
||||
allow from all
|
||||
</Directory>
|
||||
<IfModule mod_rewrite.c>
|
||||
AddType application/x-httpd-php .php
|
||||
Options +MultiViews
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^([^\.]+)$ $1.php [NC,L]
|
||||
</IfModule>
|
||||
ErrorLog /var/log/apache2/error.log
|
||||
CustomLog /var/log/apache2/access.log combined
|
||||
ErrorDocument 404 /errors/404.php
|
||||
ErrorDocument 500 /errors/500.php
|
||||
ErrorDocument 503 /errors/503.php
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user