2011-12-14 37 views
2

最近私のUbuntu 11.10ボックスにRedmineがインストールされました。 とlocalhost/redmineから問題なく動作しています。今私は を私のオフィスの他の人のためにウェブ上に置いて使用しようとしていますが、どこかで のヒッチに走っています。私は複数のスレッドを読み取ったが、 の答えが見つかりませんでした。最新のものは、私のhttp://2222.us/redmine経由Redmineはlocalhostで動作しますが、Webからはアクセスできません。

Redmineの:: Utilsの:: relative_url_root = "/ Redmineの" 私はそれにアクセスしようとしました

を追加するだけ 接続タイムアウトエラーが表示されました。 |私のhttpd.confの内容は、ちょうど1行

のServerName 127.0.0.1

ポート80が

#netstatコマンド-naoを聞いている

ですgrepの80

TCP 0 0 0.0.0.0:80 0.0.0.0:*(0.00/0/0)をオフLISTEN

そしてRedmineのための私のサイトに対応したファイルの内容が

<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

神私が間違ってIPに全体の時間を使用してきた

0

ここではファイアウォールの問題があるかもしれません。あるいは、ポート80のトラフィックをLinuxボックスに転送するためにルータでポート転送を設定する必要があるかもしれません。

+0

.....私は間違ったIPを使用した、愚かだ私は、私はちょうどifconfigコマンドを実行しなければならないとき、私のIPをGoogleに尋ねそれが私に言ったものを得た。 – ehime

関連する問題