2012-03-19 2 views
0

원격 웹 서버에 여러 개의 typo3 관리 사이트를 호스팅하려고 시도하지만 새 설치에서 로그 아웃 할 때마다 503 오류가 발생하고 그 전에는 얻을 수 없습니다. 하지만 같은 링크에서 typo3 사이트를 다시 설치할 수 있습니다. < www.mydomain_name.com/typotest>을 통해 참조 할 수있는 기본 typo3이 제대로 작동합니다. 아래에있는 내 기본 사이트 설정입니다 :사실상 호스트 된 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 포함)를 확인하고 액세스 오류를 모두 보았습니다.

+0

아파치 오류 로그에 자세한 내용이 있습니까? – konsolenfreddy

+0

이상한 점은 ... 액세스 로그를 제외하고 로그에 오류가 생성되지 않는다는 것입니다. –

답변

1

약간의 오해로 변경 :

체크하여 항목에 대한 localconf.php을. 소개 패키지 대신 빈 패키지를 설치 한 것으로 나타났습니다. 그래서 나는 빈 공간에서 생성 된 프론트 엔드 페이지가 없기 때문에 503을 얻었고 프론트 엔드 주소를 통해 백엔드에 액세스하려고했습니다.

+0

하지만 오류 메시지가 표시되었을 것입니다! – pgampe

+0

그렇지 않았습니다. 표시되는 유일한 오류는 access.log에서 503입니다. –

+0

디버깅을 켜지 않았기 때문에 추측합니다. http://www.dmitry-dulepov.com/2009/03/blank-empty-page-in-typo3.html. 방문자가 오류 관련 메시지 (보안 관련 정보를 공개 할 수 있음)를 보지 않아야하므로 옳습니다. – pgampe

1

Apache 오류 로그 항목이 표시되지 않으므로 기본 유지 관리 모드가 활성화되어 있다고 가정합니다. 이 원인

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

및 프레임 워크의

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

파일에 해당 행이 없습니다 (typo3conf 디렉토리 아래에 있다고 가정). http://fpaste.org/FswY/ –

관련 문제