|
楼主 |
发表于 2018-8-4 16:47:02
|
显示全部楼层
谢谢指点,您的意思是直接在apache2里设置,
<VirtualHost *:80>
ServerAdmin sylics@163.com
DocumentRoot /website/www/250
ServerName www.xxxxx.com/250/
ErrorLog ${APACHE_LOG_DIR}/cf_error.log
CustomLog ${APACHE_LOG_DIR}/cf_access.log combined
<Directory /website/www/250/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
比如像这样的代码?
|
|