2017-02-26 70 views
0

我剛在家用電腦上安裝了Ubuntu。在工作中,我正在使用Windows。我的應用程序前端和後端:管理路徑不顯示 - LAMP - Laravel - Ubuntu

http://localhost/mysite/public/ 
http://localhost/mysite/public/admin/ 

我已經安裝了PHP,Apache,MySQL和ubuntu上,我的前端應用程序正在運行,但是當我嘗試去管理區域,它顯示的文件結構:

Index of /mysite/public/admin 
[ICO] Name Last modified Size Description 
[PARENTDIR] Parent Directory  -  
[DIR] css/ 2017-02-25 14:03 -  
[DIR] img/ 2017-02-25 13:20 -  
[DIR] js/ 2017-02-25 14:03 -  
Apache/2.4.18 (Ubuntu) Server at localhost Port 80 

然後我試圖Allowoveride全部添加到我的apache2.conf文件

sudo nano /etc/apache2/apache2.conf 

<Directory /var/www/mysite/public/admin> 
    Allowoverride All 
</Directory> 

但儘管如此,管理路徑沒有出現在Ubuntu的,但在Windows一樣。任何想法將不勝感激。

回答

0

也許你應該嘗試把這個在配置:

Options Indexes FollowSymLinks