2016-10-21 17 views
1

私は仮想ホスト上でhttps上にUSVNサイトを持っていました。これはUbuntuのapache 2.2でうまくいきました。USVN virtualhost apache 2.2からapache 2.4へのaferの移行が壊れました

システムのアップグレードを実行して以来、私はapache 2.4で終わってしまい、USVNが動作していませんでした。私はこのエラーになってしまう...成功せず、ホストtoreconfigure

を試してみました:このエラーに関する

Internal Server Error 

The server encountered an internal error or misconfiguration and was unable to complete your request. 

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error. 

詳しい情報は、サーバーのエラーログに利用できます。誰でもする方法についてのヒントを持って

<VirtualHost *:443> 
DocumentRoot /var/www/usvn/public 
    SSLEngine On 
    SSLCertificateFile /etc/ssl/private/localhost.pem 
ServerName svn 
#alias /usvn /var/www/usvn/public 
#alias//var/www/usvn/public 
<Directory "/var/www/usvn/public"> 
    Options +SymLinksIfOwnerMatch 
    AllowOverride All 
    Order allow,deny 
    Allow from all 
</Directory> 

<Location /svn/> 
    ErrorDocument 404 default 
    DAV svn 
    Require valid-user 
    SVNParentPath /var/www/usvn/files/svn 
    SVNListParentPath off 
    AuthType Basic 
    AuthName "USVN" 
    AuthUserFile /var/www/usvn/files/htpasswd 
    AuthzSVNAccessFile /var/www/usvn/files/authz 
</Location> 

usvn.conf:ここ

localhostのポート443で

のApache/2.4.18(Ubuntuの)サーバーは、サイトのための私の設定ですそれは再び働かせる?

おかげ

答えて

0

あなたはaccess_compatがUSVN構成をサポートするために失敗した、いくつかの理由から

<Directory "/path/to/usvn/public"> 
    Options +SymLinksIfOwnerMatch 
    AllowOverride All 
    ## For Apache HTTP 2.4 
    Require all granted 
</Directory> 

を使用する必要がApacheの2.4についてinstallation documentation

を参照してください。ディレクティブを2.4構文に移行する必要があります。

+0

ありがとうございました。試しましたが、何も変更されません。 "設定ミスのページ"にまだまだ入ります –

+0

in = .htaccess =ファイルを含む "アクセス"ディレクティブ(Order、Deny、Allow ...)をすべて移行するためには、すべてのApache設定を確認する必要があります –

+0

まだまだ...私のレポをマイグレーションして、新しいインストールを試してみてください....サーバが壊れたときにリポジトリのファイルを取得するために誰かがヒントを持っていますか?ありがとう –

関連する問題