from https://www.apachefriends.org/pl/download.html and install it
2/ Run xampp manage window
3/ Modify httpd.conf
Xampp window -> Apache -> Config -> httpd.conf
Change:
Listen 80 -> Listen 8080
localhost:80 -> localhost:8080
4/ Modify httpd-vhosts.conf
C:\xampp\apache\conf\extra
<VirtualHost *:8080>
ServerAdmin admin@gmail.com
DocumentRoot "C:/vhosts/my.gumtree.pl"
ServerName my.gumtree.pl
ErrorLog "my.gumtree.pl-error.log"
CustomLog "logs/my.gumtree.pl-access.log" common
<Directory "C:/vhosts/my.gumtree.pl">
# --New way of doing it
Require all granted
<Directory>
</VirtualHost>
C:\Windows\System32\drivers\etc
127.0.0.1 my.gumtree.pl
6/ Create directory with application content
at C:/vhosts/my.gumtree.pl
No comments:
Post a Comment