这里会显示出您选择的修订版和当前版本之间的差别。
|
apache [2020/12/16 15:01] 1.1.1.102 创建 |
apache [2020/12/16 15:02] (当前版本) 1.1.1.102 |
||
|---|---|---|---|
| 行 9: | 行 9: | ||
| DocumentRoot "/home/www" | DocumentRoot "/home/www" | ||
| DirectoryIndex index.html index.php | DirectoryIndex index.html index.php | ||
| - | |||
| <Directory "/home/www"> | <Directory "/home/www"> | ||
| Options -Indexes +FollowSymlinks | Options -Indexes +FollowSymlinks | ||
| 行 16: | 行 15: | ||
| Allow from all | Allow from all | ||
| </Directory> | </Directory> | ||
| - | |||
| </VirtualHost> | </VirtualHost> | ||
| 如果在2.4中使用以上写法就会出现apache AH01630: client denied by server configuration异常。 | 如果在2.4中使用以上写法就会出现apache AH01630: client denied by server configuration异常。 | ||
| 行 26: | 行 24: | ||
| DocumentRoot "/home/www" | DocumentRoot "/home/www" | ||
| DirectoryIndex index.html index.php | DirectoryIndex index.html index.php | ||
| - | |||
| <Directory "/home/www"> | <Directory "/home/www"> | ||
| Options -Indexes +FollowSymlinks | Options -Indexes +FollowSymlinks | ||
| 行 32: | 行 29: | ||
| Require all granted | Require all granted | ||
| </Directory> | </Directory> | ||
| - | |||
| </VirtualHost> | </VirtualHost> | ||