我build立了一个Apache Web服务器,我拥有一个域。 我也安装了一个数据库和PHP,所以我也使用PHPMyAdmin作为数据库pipe理软件。 现在,我想把PMA从webroot中取出来,这样就可以保护它。
PMA目录:C:\ wwwSoft \ pma
WebRoot:D:\ wwwNet
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/wwwSoft/pma" ServerName db.something.nl ServerAlias www.db.something.nl ErrorLog "logs/db.something.nl-error.log" CustomLog "logs/db.something.nl-access.log" common <Directory C:/wwwSoft/pma> Order Allow,Deny Allow from all Options Indexes FollowSymLinks AllowOverride All </Directory> </VirtualHost>
现在,当我访问http://db.something.nl/时出现这个错误: You don't have permission to access / on this server.
我相信我把事情做好了,但是显然我犯了错误,有人能帮助我吗?