2012-03-19 15 views
0

リモートWebサーバー上に複数のtypo3管理サイトをホストしようとしていますが、新しいインストールからログアウトするたびに503エラーが発生し、同じリンクからtypo3サイトを再インストールできます。インストールされているデフォルトのtypo3は< www.mydomain_name.com/typotest>で正常に動作します。以下の私のデフォルトのサイトのセットアップです:バーチャルホストされたtypo3サイトはバックエンドログアウト後に503を返します

NameVirtualHost *:80 

<VirtualHost *:80> 
    ServerAdmin [email protected] 

    DocumentRoot /srv/www/ 
    <Directory /> 
     Options FollowSymLinks 
     AllowOverride all 
    </Directory> 
    <Directory /srv/www/> 
     Options Indexes FollowSymLinks MultiViews 
     AllowOverride all 
     Order allow,deny 
     allow from all 
    </Directory> 

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    <Directory "/usr/lib/cgi-bin"> 
     AllowOverride None 
     Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch 
     Order allow,deny 
     Allow from all 
    </Directory> 

    ErrorLog ${APACHE_LOG_DIR}/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog ${APACHE_LOG_DIR}/access.log combined 

    Alias /doc/ "/usr/share/doc/" 
    <Directory "/usr/share/doc/"> 
     Options Indexes MultiViews FollowSymLinks 
     AllowOverride None 
     Order deny,allow 
     Deny from all 
     Allow from 127.0.0.0/255.0.0.0 ::1/128 
    </Directory> 

</VirtualHost> 

############### All other demo sites ################ 
<VirtualHost *:80> 
DocumentRoot /srv/www/site1/ 
ServerName www.site1.typotest.net 

<Directory /> 
      Options FollowSymLinks 
      AllowOverride all 
</Directory> 
<Directory /srv/www/WFS> 
      Options Indexes FollowSymLinks MultiViews 
      AllowOverride all 
      Order allow,deny 
      allow from all 
</Directory> 

#ErrorLog ${APACHE_VHOST_LOG_DIR}/site1/error.log 
#Loglevel warn 
#CustomLog ${APACHE_VHOST_LOG_DIR}/site1/access.log combined 
</VirtualHost> 

######## Site2 ######## 
<VirtualHost *:80> 
DocumentRoot /srv/www/site2/ 
ServerName www.site2.typotest.net 

<Directory /> 
      Options FollowSymLinks 
      AllowOverride all 
</Directory> 
<Directory /srv/www/Monassier> 
      Options Indexes FollowSymLinks MultiViews 
      AllowOverride all 
      Order allow,deny 
      allow from all 
</Directory> 

#ErrorLog ${APACHE_VHOST_LOG_DIR}/site2/error.log 
#Loglevel warn 
#CustomLog ${APACHE_VHOST_LOG_DIR}/site2/access.log combined 

</VirtualHost> 

######## site 3 ######## 
<VirtualHost *:80> 
DocumentRoot /srv/www/site3/ 
ServerName www.site3.typotest.net 

<Directory /> 
      Options FollowSymLinks 
      AllowOverride all 
</Directory> 
<Directory /srv/www/HandP> 
      Options Indexes FollowSymLinks MultiViews 
      AllowOverride all 
      Order allow,deny 
      allow from all 
</Directory> 

#ErrorLog ${APACHE_VHOST_LOG_DIR}/site3/error.log 
#Loglevel warn 
#CustomLog ${APACHE_VHOST_LOG_DIR}/site3/access.log combined 

</VirtualHost> 

また、私は作業現場からの事実上ホストされているサイトへの.htaccessをコピーしようとしたが、何の結果を得ていないことを言うだろう。この時点で、私はこれを引き起こす可能性のあるものを紛失しています。 サーバOSはDebian Lennyとapache 2.2.16です。 は私がエラーログをチェックしていることを追加したいと思います(PHPのものが含まれている)、あなたがApacheのエラー・ログ項目を取得されていませんとして、私が見るすべては

+0

あなたのApacheエラーログには詳細はありますか? – konsolenfreddy

+0

これはもっとも不思議なことです...アクセスログを除いてログにエラーは生成されていません –

答えて

1

に変更してわずか誤解はこれを引き起こしました。私は導入パッケージの代わりに空のパッケージをインストールしていたことが分かりました。だから私は、空白の中に作成されたフロントエンドページが存在しないために503を取得していました。フロントエンドアドレスを介してバックエンドにアクセスしようとしていました。

+0

しかし、それはあなたにエラーメッセージを示しているはずですか? – pgampe

+0

それはしませんでした。表示され続けた唯一のエラーはaccess.logの503でした。 –

+0

デバッグを有効にしていなかったので、私は推測します。http://www.dmitry-dulepov.com/2009/03/blank-empty-page-in-typo3.html訪問者はエラーメッセージ(セキュリティに関連する情報を開示する可能性があります)が表示されないようにしてください。 – pgampe

1

アクセスエラーです、私はあなたが有効になってmaintanenceモードを持っていると推定します。

はエントリーのためのあなたのlocalconf.phpをチェック:フレームワークの

$GLOBALS['TYPO3_CONF_VARS'][BE][adminOnly] = 1; 

$GLOBALS['TYPO3_CONF_VARS'][BE][adminOnly] = 0; 
+0

ファイル内にそのような行はありません(私はtypo3confディレクトリの下にあります)http://fpaste.org/FswY/ –

関連する問題