apache服務器vhost典型代碼

<VirtualHost *:80>
ServerName glassbeadschina.com
ServerAlias www.glassbeadschina.com
DocumentRoot /var/www/html/glassbeads
ErrorLog /var/log/httpd/glassbeads/error_log
CustomLog /var/log/httpd/glassbeads/access_log common
<Directory /var/www/html/glassbeads>
	Options -Indexes +Includes +FollowSymLinks +Multiviews
	AllowOverride All
	Require all granted
</Directory>
</VirtualHost>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章