Apache

From Wiki

Jump to: navigation, search

Apache

Creating Alias in Apache

1. Open file C:\xampp\apache\conf\extra\httpd-xampp.conf

Image:Capture11-28-2008-2.29.14_PM.jpg‎

2. Add the alias here

Image:Capture11-28-2008-2.31.01_PM.jpg‎

3. Restart Apache

Changing the http and https port (so that you can run IIS and apache simultaneously)

1. Change port for http

  • Go to C:\xampp\apache\conf\httpd.conf
  • Change

#Listen 12.34.56.78:80

Listen 80

to

#Listen 12.34.56.78:8080

Listen 8080

2. Change port for https

  • Go to C:\xampp\apache\conf\extra\httpd-ssl.conf
  • Change

Listen 443

to

Listen 450

3. Restart apache

  • Go to command prompt, type C:\xampp>apache_start
Personal tools