我的 apache2 配置 ServerAdmin webmaster@localhost
DocumentRoot /home/xxx/program/rails/yyy AllowOverride all Options -MultiViews
ErrorLog /home/lindp/log/apache2error.log
# Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn
CustomLog /home/lindp/log/apache2/access.log combined
一开进去,就显示 树形的浏览目录。查了下,我并没有配置 index 这个选项啊; 2)通过 rails s 可以正常启动和访问