2013年2月10日日曜日

Changing default port of apache

to change the default port of apache, change following files.


/etc/apache2/port.conf

/etc/apache2/site-enable/000-default


The following example set the default port to 81.

---- port.conf ----

NameVirtualHost *:81
Listen 81


---- 000-default ----

<VirtulaHost *:81>


0 件のコメント:

コメントを投稿