넥서스7 1세대 이용하여 리눅스 서버 구동에 성공하여 개인 서버를 가지게 되었습니다. 웹페이지 구동 잘되고 배터리가 오링 되기전까지는
잘 확인해가며 충전 해주면서 이용하고 있습니다. (구동 어플은 구글 플레이 통해 받았습니다. 바로가기 : Linux Deploy)
아무튼 각종 서비스 인터넷 통해 활성화 시키고 잘되어서 YOURLS 이용하여 짧은주소 이용해보려고 설치 했습니다.
설치도 잘되고 짧은 주소도 생성이 잘되었는데 문제는 짧은주소 생성 후 짧은주소로 접속을 하게되면 500 Internal Server Error 출력이 됩니다.
무슨 문제인지 확인을 해보려고 해도 도통 문제를 모르겠습니다.ㅠ ㅠ
[Wed Mar 22 11:59:21.597264 2017] [core:error] [pid 29929] [client 192.168.0.1:10616] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://url/admin/index.php?
[Wed Mar 22 11:59:28.205015 2017] [core:error] [pid 29929] [client 192.168.0.1:10619] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://url/admin/index.php?
[Wed Mar 22 12:00:30.262477 2017] [core:error] [pid 27923] [client 192.168.0.1:10623] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://url/admin/index.php?
[Wed Mar 22 12:00:35.223338 2017] [core:error] [pid 27923] [client 192.168.0.1:10624] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://url/admin/index.php?
[Wed Mar 22 12:01:15.515619 2017] [core:error] [pid 27923] [client 192.168.0.1:10631] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://url/admin/index.php
[Wed Mar 22 12:05:46.879836 2017] [core:error] [pid 29964] [client 192.168.0.1:10685] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://url/admin/index.php
[Wed Mar 22 12:12:56.415365 2017] [core:error] [pid 27923] [client 192.168.0.1:10828] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://url/admin/index.php
에러로그 확인해보면 폴딩 처럼 에러 로그가 찍히는데 번역을 해보면
[Wed Mar 22 11 : 59 : 21.597264 2017] [core : error] [pid 29929] [클라이언트 192.168.0.1:10616] AH00124 : 구성 오류로 인해 요청이 내부 리다이렉션 10 개를 초과했습니다. 필요한 경우 'LimitInternalRecursion'을 사용하여 제한을 늘리십시오. 백 로그를 얻으려면 'LogLevel debug'를 사용하십시오. referer : http : //url/admin/index.php?
나오는데 당최 방법을 모르겠네요... 방법을 찾아봐도 속시원하게 해결방법이 나와있는게 아니다보니..ㅜㅜ 좀더 찾아서 연구좀 해봐야겠네요.
<?php
/* This is a sample config file.
* Edit this file with your own settings and save it as "config.php"
*
* IMPORTANT: edit and save this file as plain ASCII text, using a text editor, for instance TextEdit on Mac OS or
* Notepad on Windows. Make sure there is no character before the opening <?php at the beginning of this file.
*/
/*
** MySQL settings - You can get this info from your web host
*/
/** MySQL database username */ (데이터 베이스 이름)
define( 'YOURLS_DB_USER', 'your db user name' );
/** MySQL database password */ (비밀번호)
define( 'YOURLS_DB_PASS', 'your db password' );
/** The name of the database for YOURLS */ (데이터베이스 이름)
define( 'YOURLS_DB_NAME', 'yourls' );
/** MySQL hostname.
** If using a non standard port, specify it like 'hostname:port', eg. 'localhost:9999' or '127.0.0.1:666' */
define( 'YOURLS_DB_HOST', 'localhost' );
/** MySQL tables prefix */
define( 'YOURLS_DB_PREFIX', 'yourls_' );
/*
** Site options
*/
/** YOURLS installation URL -- all lowercase and with no trailing slash.
** If you define it to "http://sho.rt", don't use "http://www.sho.rt" in your browser (and vice-versa) */
** Change this setting to use a translation file for your language, instead of the default English.
** That translation file (a .mo file) must be installed in the user/language directory.
** See http://yourls.org/translations for more information */
define( 'YOURLS_LANG', '' );
/** Allow multiple short URLs for a same long URL
** Set to true to have only one pair of shortURL/longURL (default YOURLS behavior)
** Set to false to allow multiple short URLs pointing to the same long URL (bit.ly behavior) */
define( 'YOURLS_UNIQUE_URLS', true );
/** Private means the Admin area will be protected with login/pass as defined below.
** Set to false for public usage (eg on a restricted intranet or for test setups)
** Read http://yourls.org/privatepublic for more details if you're unsure */
define( 'YOURLS_PRIVATE', true );
/** A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: copy from http://yourls.org/cookie **/ (https://api.yourls.org/services/cookiekey/1.0/ 링크 통해 키 대입)