>現在稼働中のPCはVineでapacheを使ってるんですが...
>...
>もう面倒なので/root/httpd/hiawathaにCIをインストールすることにしました。
それがいいですよ。
hiawatha.confについて
Re: hiawatha.confについて
みのむし
Notebook PC HP G62
CPU: Intel(R) Core(TM)i5 M450 @ 2.40GHz
MEM: 4GB
Puppy Linux Quickset 5.1.1 JP
PC内蔵無線LANデバイス RTL8171(r8192se_pci)
Notebook PC HP G62
CPU: Intel(R) Core(TM)i5 M450 @ 2.40GHz
MEM: 4GB
Puppy Linux Quickset 5.1.1 JP
PC内蔵無線LANデバイス RTL8171(r8192se_pci)
Re: hiawatha.confについて
お世話になっています。
virtual hostディレクティブの使い方がおかしいのか
http://pana/で/root/httpd/hiawatha/CI/index.phpが表示されず,
/root/httpd/hiawatha/index.phpが表示されます。
マニュアルを読んだらvirtual hostを探して存在しなければWebsiteRootを表示すると書いてあったのでこれで大丈夫だと思ったのですが。
/root/httpd/hiawatha/CI/index.phpは存在します。
どこが間違っているのでしょうか?
pana自身、他PCも同じです。
hiawatha.conf
Binding {
Port = 80
MaxRequestSize = 512
}
MimetypeConfig = /etc/mime.types
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php
SessionTimeout = 60
}
Hostname = 127.0.0.1
WebsiteRoot = /root/httpd/hiawatha
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
VirtualHost {
Hostname = pana
WebsiteRoot = /root/httpd/hiawatha/CI
showIndex = yes
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
UseFastCGI = PHP5
UseXSLT = yes
}
VirtualHost {
Hostname = localhost
WebsiteRoot = /root/httpd/hiawatha
showIndex = yes
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
UseFastCGI = PHP5
UseXSLT = yes
}
virtual hostディレクティブの使い方がおかしいのか
http://pana/で/root/httpd/hiawatha/CI/index.phpが表示されず,
/root/httpd/hiawatha/index.phpが表示されます。
マニュアルを読んだらvirtual hostを探して存在しなければWebsiteRootを表示すると書いてあったのでこれで大丈夫だと思ったのですが。
/root/httpd/hiawatha/CI/index.phpは存在します。
どこが間違っているのでしょうか?
pana自身、他PCも同じです。
hiawatha.conf
Binding {
Port = 80
MaxRequestSize = 512
}
MimetypeConfig = /etc/mime.types
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php
SessionTimeout = 60
}
Hostname = 127.0.0.1
WebsiteRoot = /root/httpd/hiawatha
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
VirtualHost {
Hostname = pana
WebsiteRoot = /root/httpd/hiawatha/CI
showIndex = yes
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
UseFastCGI = PHP5
UseXSLT = yes
}
VirtualHost {
Hostname = localhost
WebsiteRoot = /root/httpd/hiawatha
showIndex = yes
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
UseFastCGI = PHP5
UseXSLT = yes
}
Re: hiawatha.confについて
>pana自身、他PCも同じです。
すみません。書き直します。
pana自身、他PCからhttp://pana/にアクセスしたらpanaの/root/httpd/hiawatha/index.phpが実行されて表示されます。
dirname(__FILE__)を出力するだけです。
すみません。書き直します。
pana自身、他PCからhttp://pana/にアクセスしたらpanaの/root/httpd/hiawatha/index.phpが実行されて表示されます。
dirname(__FILE__)を出力するだけです。