-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathalpha.mvc.dev.conf
More file actions
executable file
·32 lines (27 loc) · 893 Bytes
/
alpha.mvc.dev.conf
File metadata and controls
executable file
·32 lines (27 loc) · 893 Bytes
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
<VirtualHost *:80>
ServerAdmin contact@sdslabs.co.in
ServerName alpha.mvc.dev
#Change the path below to wherever your application's public folder is in your system
DocumentRoot /home/alphadose/Desktop/MVC_PROJECT/public
#Change the path below too
<Directory /home/alphadose/Desktop/MVC_PROJECT/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/httpd/log.error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/httpd/blog.access.log combined
</VirtualHost>