- 论坛徽章:
- 0
|
- NameVirtualHost *
- <VirtualHost *>
- ServerAdmin webmaster@localhost
- DocumentRoot /home/yagas/webroot/
- <Directory /home/yagas/webroot/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- Order allow,deny
- allow from all
- </Directory>
- #ErrorLog /var/log/apache2/error.log
- #LogLevel warn
- #CustomLog /var/log/apache2/access.log combined
- #ServerSignature On
- </VirtualHost>
复制代码
这样写有错误吗?为什么每回都是
- yagas@ubuntu8:/$ /etc/init.d/apache2 start
- open: Permission denied
- * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
- (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
- no listening sockets available, shutting down
- Unable to open logs
- open: Permission denied
- [fail]
复制代码 |
|