nginx目录权限控制求助
<br />server {<br /> listen 80;<br /> server_name admin.my.com;<br /><br /> location / {<br /> root D:/www/webroot;<br /> index index.php;<br /> }<br /><br /> error_page 404 = http://admin.my.com/error.html;<br /><br /> location ~ \.php$ {<br /> root D:/www/webroot;<br /> fastcgi_pass 127.0.0.1:9000;<br /> fastcgi_index index.php;<br /> fastcgi_param SCRIPT_FILENAME D:/www/webroot$fastcgi_script_name;<br /> include fastcgi_params;<br /> }<br />}<br /><br /><VirtualHost *:80><br /> ServerAdmin [email protected]<br /> DocumentRoot /<br /> ServerName admin.my.com<br /> Alias / "D:/www/webroot/"<br /> <Directory "D:/www/webroot/"><br /> Options FollowSymLinks MultiViews ExecCGI<br /> <br /> Order allow,deny<br /> Allow from all <br /> </Directory><br /> ErrorLog logs/admin-error.log<br /> #CustomLog logs/admin-access.log common<br /></VirtualHost><br />
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号