Versionsunterschiede von Test Server / Setting Up Virtual Hosts
|
â Vorherige Ănderung
|
|
| 6 | |
|---|---|
| 7 | To setup a custom virtual host, we need to follow these steps: |
| 8 | |
| 9 | ===Allow virtual hosts=== |
| 10 | |
| 11 | By default, Apache2 won't use the ##httpd-vhosts.conf## file (the location of the virtual hosts), therefore we need to indicate that this file will be included during the runtime of Apache. |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | **/opt/lampp/etc/httpd.conf** |
| … | … |
| 58 | Start apache and mysql (entire XAMPP). |
| 59 | Navigate in your browser to ##~http://myproject/## or ##~http://127.0.0.3/##. |
| 60 |