-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquizmaster.sdslabs.co.conf
37 lines (27 loc) · 1.02 KB
/
quizmaster.sdslabs.co.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName quizmaster.sdslabs.local
# Change the path below to wherever your application's public folder is in your system
DocumentRoot /home/leshna/Desktop/quizmaster/public
# Change the path below too
<Directory /home/leshna/Desktop/quizmaster/public>
#Do not show indexes
#Do not follow symlinks
Options -Indexes -MultiViews
#Order allow,deny
Require all granted
Allowoverride All
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
</Directory>
ErrorLog /var/log/apache2/quizmaster.error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/quizmaster.access.log combined
</VirtualHost>