2017-01-22 21 views
0

のドキュメントルートを変更できません/etc/apache2/sites-available/default-sslに行き、sslにアクセスしているときにドキュメントルートを更新しました。しかし、なんらかの理由でまだ/var/wwwを指しています。私はsudo service apache2 reloadsudo service apache2 restartを使ってapache2サーバをリロードして再起動しましたが、変更はまだ反映されていません。 https://localhost//home/student/public_htmlを指すように変更する必要がある他の場所はありますか?デフォルト-SSLのhttps:// localhost/

最初の数行:デフォルトの

<IfModule mod_ssl.c> 
<VirtualHost _default_:443> 
    ServerAdmin [email protected] 
    ServerName localhost 

    DocumentRoot /home/student/public_html 
    <Directory /> 
     Options FollowSymLinks 
     AllowOverride None 
    </Directory> 
    <Directory /home/student/public_html/> 
     Options Indexes FollowSymLinks MultiViews 
     AllowOverride None 
     Order allow,deny 
     allow from all 
    </Directory> 

最初の数行:

<VirtualHost *:80> 
    ServerAdmin [email protected] 

    DocumentRoot /home/student/public_html 
    <Directory /> 
     Options FollowSymLinks 
     AllowOverride None 
    </Directory> 
    <Directory /home/student/public_html/> 
     Options Indexes FollowSymLinks MultiViews 
     AllowOverride All 
     Order allow,deny 
     allow from all 
    </Directory> 

    Redirect "/" "https://localhost/" 

答えて

0

私はすべてのブラウザの履歴を削除し、それが今取り組んで開始されます。 :)

関連する問題