--- Thai Duong <[EMAIL PROTECTED]> $B$+$i$N%a%C%;!<%8!'(B
(B> Thu+? coi error_log cu?a apache xem xem no' ba'o
(B> lo^~i gi`. Tui cha.y
(B> to^'t, cu~ng la` FC3, Apache 2.x, cha.y CGI trong
(B> UserDir luo^n.
(B>
(B> --Thai
(B>
(B
(Bi ba'c Tha'i, em cha.y tail -f error_log va` mo+? 1 file
(B.cgi tu+` webbrowser ra thi` tha^'y ba'o:
(B
(B[Fri Feb 04 17:16:02 2005] [error] [client x.x.x.x]
(BPremature end of script headers: index.cgi
(B
(BTrong access_log thi` tha^'y ba'o
(B
(Bx.x.x.x - - [04/Feb/2005:17:10:30 +0900] "GET
(B/~vuhung/index.cgi HTTP/1.1" 500 547
(Bx.x.x.x - - [04/Feb/2005:17:10:30 +0900] "GET
(B/~vuhung/index.cgi HTTP/1.1" 500 547
(B
(BMong ba'c chi? gia'o.
(B
(B
(B
(B>
(B> On Tue, 1 Feb 2005 18:46:59 +0900 (JST), Bit Takeshi
(B> <[EMAIL PROTECTED]> wrote:
(B> > Cha`o ca? nha`,
(B> >
(B> > Em ca`i apache 2.0.5 tre^n FC3, trong httpd.conf
(B> set:
(B> >
(B> > UserDir html
(B> > <Directory /home/*/html>
(B> > <IfModule mod_dir.c>
(B> > DirectoryIndex index.html
(B> index.htm
(B> > index.shtml index.cgi index.php
(B> > </IfModule>
(B> > Options FollowSymLinks MultiViews
(B> +ExecCGI
(B> > Includes
(B> > AddHandler cgi-script .cgi
(B> > AllowOverride All
(B> > Order allow,deny
(B> > Allow from all
(B> > </Directory>
(B> >
(B> > DDe^'n dda^y thi` em nghi~ co' the^? du`ng
(B> >
(B> > http://myhost/~user/file.html va`
(B> > http://myhost/~user/file.cgi
(B> >
(B> > Nhu+ng thu+.c te^' chi?
(B> http://myhost/~user/file.html la`
(B> > mo+? dduo+.c, co`n khi open
(B> >
(B> > http://myhost/~user/file.cgi
(B> >
(B> > thi` bi. ba'o lo^~i Internal Server Error 500.
(B> >
(B> > Gia?i pha'p ddo^'i pho' ta.m tho+`i la` the^m
(B> do`ng sau
(B> > va`o httpd.conf
(B> >
(B> > Alias /~usertest /home/usertest/html
(B> >
(B> > Nghi~a la` cu+' mo^~i la^`n the^m 1 user thi`
(B> pha?i add
(B> > the^m 1 do`ng nhu+ the^'. Foo!
(B> >
(B> > Ca'c ba'c co' ca'ch na`o ma` kho^ng pha?i du`ng
(B> Alias
(B> > /~usertest /home/usertest/html kho^ng nhi?
(B> >
(B> > Thx ca'c ba'c
(B> >
(B> > vu Hung
(B> >
(B> > http://www.fedu.uec.ac.jp/~vuhung/
(B> > http://chuiyang.org
(B> >
(B> > __________________________________
(B> > Let's Celebrate Together!
(B> > Yahoo! JAPAN
(B> > http://pr.mail.yahoo.co.jp/so2005/
(B> >
(B> >
(B> -------------------------------------------------------
(B> > This SF.Net email is sponsored by: IntelliVIEW --
(B> Interactive Reporting
(B> > Tool for open source databases. Create drag-&-drop
(B> reports. Save time
(B> > by over 75%! Publish reports on the web. Export to
(B> DOC, XLS, RTF, etc.
(B> > Download a FREE copy at
(B> http://www.intelliview.com/go/osdn_nl
(B> > _______________________________________________
(B> > VietLUG-users mailing list
(B> > [email protected]
(B> >
(B>
(Bhttps://lists.sourceforge.net/lists/listinfo/vietlug-users
(B> >
(B>
(B>
(B> -------------------------------------------------------
(B> This SF.Net email is sponsored by: IntelliVIEW --
(B> Interactive Reporting
(B> Tool for open source databases. Create drag-&-drop
(B> reports. Save time
(B> by over 75%! Publish reports on the web. Export to
(B> DOC, XLS, RTF, etc.
(B> Download a FREE copy at
(B> http://www.intelliview.com/go/osdn_nl
(B> _______________________________________________
(B> VietLUG-users mailing list
(B> [email protected]
(B>
(Bhttps://lists.sourceforge.net/lists/listinfo/vietlug-users
(B
(B
(Bhttp://www.fedu.uec.ac.jp/~vuhung/
(Bhttp://chuiyang.org
(B
(B__________________________________
(BLet's Celebrate Together!
(BYahoo! JAPAN
(Bhttp://pr.mail.yahoo.co.jp/so2005/
(B
(B
(B
(B-------------------------------------------------------
(BThis SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
(BTool for open source databases. Create drag-&-drop reports. Save time
(Bby over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
(BDownload a FREE copy at http://www.intelliview.com/go/osdn_nl
(B_______________________________________________
(BVietLUG-users mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/vietlug-users