Difference between #172 and #173 of
Yii v2 snippet guide

Revision #173 has been created by rackycz on Mar 19, 2020, 9:59:12 PM with the memo:

local url
« previous (#172) next (#174) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
**Webproject outsite docroot (htdocs) folder (Windows)**
---
If you need to store you project for example in folder D:\GIT\EmployerNr1\ProjectNr2, you can. Just modify 2 files and restart Apache (I am using XAMPP under Win):

- C:\Windows\System32\drivers\etc\hosts

 
``` 127.0.0.1 myFictiveUrl.local ``` - C:\xampp\apache\conf\extra\httpd-vhosts.conf
 
```
<VirtualHost *:80>
DocumentRoot "D:\GIT\EmployerNr1\ProjectNr2"
ServerName myFictiveUrl.local
ServerAlias myFictiveUrl.local
<Directory "D:\GIT\EmployerNr1\ProjectNr2">
[...]
7 0
4 followers
Viewed: 274 856 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: a year ago
Update Article

Revisions

View all history