Setting up the Web Server ( XAMPP )
Installing XAMPP and Configuring Apache
- Copy XAMPP directory in its entirety
- Edit httpd.conf
- Set Apache Server path
- Listen 81
- Set ServerName localhost:81
- Set Document Root
- Set Directory for htdocs (a.k.a. point to site’s root )
- httpd-xampp.conf
# # New XAMPP security concept # <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 \ fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \ fe80::/10 169.254.0.0/16 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch>
- Run setup_xampp.bat
- This will re-write all the server config files to utilize D:\xampp\apache\bin\httpd.exe
- Run xampp-control.exe
XAMPP Control Panel
XAMPP Config and Logs
Apache\Config
|
Apache\Logs |
MySQL\Config
|
MySQL\Logs
|
FileZilla\Config
|
Mercury\Config |
Tomcat\Config
|
|
Windows Firewall
Control Panel\All Control Panel Items\Windows Firewall
- Turn off the Firewall until you get a response from apache
- Once a response is received, enable the Firewall for Public and Private networks
- Allow a program or feature through Windows Firewall…
- Control Panel\All Control Panel Items\Windows Firewall\Allowed Programs
Control Panel\All Control Panel Items\Windows Firewall\Allowed Programs
- Allow Apache HTTP Server on Home/Work and/or Public networks
- When starting
- When starting Apache or FileZillaFTP, Windows may prompt to allow the program through the Firewall
- To make the setting manually, click ‘Allow another program…
- Browse to xampp\filezillftp\filezillaserver.exe
- Enable for the appropriate networks
- Browsing to the FileZillaServer file
- Windows Firewall > Advanced Settings > Inbound Rules
- Log in to post comments