Posts Tagged “apache”

apache中的Alias怎么配置?

原创 apache的Alias配置 收藏 在 apache中配置Alias,如下格式 <VirtualHost *:80> ServerAdmin fanglor@163.com DocumentRoot /server/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /server/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory>   Alias /suizhou "/exports/suizhou" <Directory "/exports/suizhou"> Options Indexes AllowOverride AuthConfig FileInfo Order allow,deny Allow from all </Directory> </VirtualHost> 注意,要将httpd.conf的 User和Group设置为有权限访问Alias指向目录。否则访问会出现403 forbidden

Read more »

linux下安装php环境xampp并配置虚拟域名

linux下配置xampp虚拟域名原来就这么简单

Read more »