0

リモートウェブサーバーで複数のtypo3管理サイトをホストしようとしていますが、新しいインストールからログアウトするたびに503エラーが発生し、それを乗り越えることができません。しかし、私は同じリンクからtypo3サイトを再インストールすることができます。しかし、< www.mydomain_name.com/typotest >を介して参照できるインストールされているデフォルトのtypo3は正常に機能します。以下は私のデフォルトのサイト設定です:

NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin webmaster@localhost

    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はDebianLennyとapache2.2.16です。エラーログ(phpのものを含む)を確認しましたが、表示されるのはアクセスエラーだけです。

4

2 に答える 2

1

Apacheエラーログエントリが表示されないため、メンテナンスモードが有効になっていると思います。

エントリを確認localconf.phpしてください:

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

に変更します

$GLOBALS['TYPO3_CONF_VARS'][BE][adminOnly] = 0;
于 2012-03-19T13:19:29.230 に答える
1

フレームワークのわずかな誤解がこれを引き起こしました。紹介パッケージではなく、空のパッケージをインストールしたことがわかりました。そのため、空白でフロントエンドページが作成されていないため、503を取得し、フロントエンドアドレスを介してバックエンドにアクセスしようとしました。

于 2012-03-19T15:33:30.330 に答える