2011-12-14 3 views
2

나는 직장에서 우분투 11.10 상자에 최근에 Redmine을 설치했는데, 그리고 localhost/redmine에서 잘 작동하도록했습니다. 이제는 내 사무실에있는 다른 사람들을 위해 웹에 을 넣으려고 시도하고 있습니다.하지만 어딘가에 번갈아 가며 달리고 있습니다. 여러 스레드를 통해 읽었지만 답변을 찾지 못했습니다. 최신 것은 내 http://2222.us/redmine를 통해Redmine은 localhost에서 작동하지만 웹에서 액세스 할 수 없습니까?

레드 마인 ::의 Utils :: relative_url_root = "/ 레드 마인"나는 접근 시도했습니다

를 추가하지만 연결 시간 제한 오류가 발생했습니다. 내 httpd.conf 파일의 내용은 한 줄입니다

의 ServerName 127.0.0.1 포트 80

# 보려면 netstat -nao

을 듣고있다

| 그렙 80

TCP 0 0 0.0.0.0:80 (0.00/0/0)

그리고 내의 내용 오프 LISTEN 0.0.0.0:* 레드 마인에 대한 파일을 사이트 사용은

<VirtualHost *:80> 
    ServerAdmin [email protected] 

    DocumentRoot /var/www 
    <Directory /> 
     Options FollowSymLinks 
     AllowOverride None 
    </Directory> 
    <Directory /var/www/> 
     Options Indexes FollowSymLinks MultiViews 
     AllowOverride None 
     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> 

    # See 
    # http://www.modrails.com/documentation/Users%20guide%20Apache.html 
    # for details on what these options do. They will lead to an increase 
    # in memory usage, but significantly reduced access times. 


    # Speeds up spawn time tremendously -- if your app is compatible. 
    # RMagick seems to be incompatible with smart spawning 
    PassengerSpawnMethod smart 


    # Keep the application instances alive longer. Default is 300 (seconds) 
    PassengerPoolIdleTime 300 


    # Additionally keep a copy of the Rails framework in memory. If you're 
    # using multiple apps on the same version of Rails, this will speed up 
    # the creation of new RailsAppSpawners. This isn't necessary if you're 
    # only running one or 2 applications, or if your applications use 
    # different versions of Rails. 
    RailsFrameworkSpawnerIdleTime 0 

    # Just in case you're leaking memory, restart a listener 
    # after processing 5000 requests 
    PassengerMaxRequests 5000 


    # Only check for restart.txt et al up to once every 5 seconds, 
    # instead of once per processed request 
    PassengerStatThrottleRate 5 

    # Specify the minimum number of instances passenger can keep 
    # while cleaning idle instances 
    PassengerMinInstances 3 

    <Location /redmine> 
     Options Indexes -ExecCGI FollowSymLinks -MultiViews 
     # AllowOverride None 
     Order allow,deny 
     Allow from all 

     # mod_rails 
     # PassengerUser redmine 
     #RailsEnv edoceo_live 
     RailsBaseURI /redmine 

     # environment.rb 
     # Redmine::Utils::relative_url_root = "/redmine"  
    </Location> 

</VirtualHost> 

# Then after the virtualhost is loaded, send it a request 
# to initialize the redmine installation 
PassengerPreStart http://2222.us/redmine/ 
입니다

작동해야하지만 작동하지 않아야합니다. 누군가 조언 할 수 있습니까?

답변

1

하나님 I 해요 바보, 내가 잘못된 IP를 사용하고 있었다 .....

0

여기에 방화벽 문제가 있거나 포트 80에서 Linux 상자로 트래픽을 전달하기 위해 라우터에서 포트 전달을 설정해야 할 수 있습니다.

+0

난 그냥 실행해야 할 때, 나는 내 IP에 대한 구글을 물었다 내가 잘못된 IP를 전체 시간을 사용하고 한 ifconfig를 그리고 그것이 나에게 말한 것을 얻었다. – ehime

관련 문제