หัวข้อ: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 12:39:29 เราจะแก้ 500 Internal Server Error ใน localhost ได้ยังไงอ่ะคะ
พอลบไฟล์ .htaccess ทิ้ง มันก้เปิดได้นะ แต่สคริปต์นี้มันดันลบ .htaccess ไม่ได้ ไม่งั้นมันจะไม่ทำงาน ไม่อินสตอลให้ มีทางแก้อื่นๆไหมคะ ลง ioncube ในเครื่องไปแล้ว หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: ฉันไม่มีตัวตน ที่ 22 ตุลาคม 2008, 12:40:41 เอาจุดออกได้มั้ย
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 12:46:18 เอาออกยังไงเหรอ หมายถึงเซฟไฟล์ .htaccess ให้เป็น htaccess เฉยๆเหรอคะ
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: Synchronize ที่ 22 ตุลาคม 2008, 13:10:58 ไฟล์ .htaccess ชื่อกับ จุดที่อยู่ข้างหน้า ถูกแล้วล่ะครับ
ปัญหาน่าจะอยู่ ที่ คำสั่งในไฟล์ .htaccess มากกว่า ลองเปิดแล้วก๊อปมาโพสให้ดูหน่อยครับ เผื่อจะมีคนพอช่วยได้ (เพราะผมก็ไม่ค่อยรู้เรื่องคำสั่งของ apache เท่าไร ;D) ปล. เปิดด้วย โปรแกรม editor ธรรมดานั่นล่ะ หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: บอท! ที่ 22 ตุลาคม 2008, 13:24:47 จากเคย ทดสอบ มันเป็นเรื่องฮา ๆ
ในโฮสจริงนะ .htaccess เซฟ เป็น ansi ถึงได้ เซฟเป็นอย่างอื่น เจ๊งหมด ไม่รู้เป็นที่ผมคนเดียวเปล่า หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 13:28:18 โค๊ด: RewriteEngine On นี่ค่ะคำสั่ง หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: Synchronize ที่ 22 ตุลาคม 2008, 13:09:02 ลองแก้เป็นแบบนี้ จะให้ได้มั้ยครับ ... พอดีผมเขียนไว้แบบนี้ ที่รันของผม ;D
โค๊ด: RewriteEngine On หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 13:14:28 ไม่ได้อ่ะค่ะ T-T
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: jatuphum ที่ 22 ตุลาคม 2008, 13:15:39 ก่อนหน้านี้เคยใช้งานได้รึเปล่าครับ ???
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 13:21:56 ก่อนหน้านี้ก็ใช้ไม่ได้อ่ะคะ ถ้ามี .htaccess อยู่ แต่ก็แก้ปัญหาด้วยการลบทิ้งไป ซึ่งสคริปต์อื่นๆก้ไม่มีปัญหาอะไร
พอเวลาขึ้นโฮสต์จริงค่อยใช้ .htaccess ได้ แต่ตัวนี้มันไม่ยอมอ่ะค่ะ ถ้าไม่ลง .htaccess มันจะไม่ยอม install ให้เลยง่ะ ตะกี้ลองแก้ไขโดยลบข้อความใน .htaccess ทิ้งหมด เซฟไว้แต่ไฟล์เปล่าๆ ปรากฎว่าอินสตอลได้ แต่หน้าเวบเออเร่อกระจาย ทำงานต่อไม่ได้เลย = =" หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: jatuphum ที่ 22 ตุลาคม 2008, 13:25:43 ลองเข้าไปดู
โค๊ด: AppServ\Apache2.2\conf\httpd.conf ว่ามีบรรทัดนี้รึเปล่าครับ # # AccessFileName: The name of the file to look for in each directory # for additional configuration directives. See also the AllowOverride # directive. # AccessFileName .htaccess หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: Synchronize ที่ 22 ตุลาคม 2008, 13:22:15 ลอง ทั้งไฟล์มีแค่
โค๊ด: RewriteEngine on นี่มันจะ error มั้ยครับ ... ถ้ายัง error ผมว่าน่าเกี่ยวกะการเข้ารหัสไฟล์ แบบ ท่าน บอท! บอกแล้วล่ะครับ หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 14:04:40 ตอบคุณ jatuphum มีค่ะ
ตอบคุณ Synchronize เออเร่อค่ะ แบบถ้าไปแก้ไขอะไรใน .htaccess นี่ สคริปต์เดี้ยงเลย หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: ball6847 ที่ 22 ตุลาคม 2008, 14:05:44 ตามนี้เลยพี่เพ่ตุกตาบาร์บี้ฮา
@rep=artster http://www.thaiseoboard.com/index.php/topic,5441.msg259977.html#msg259977 ตามนี้เลยครับ... ทำให้ apache รู้จัก .htaccess สำหรับวิธีการ config apache ให้รู้จัก .htaccess บน Windows ทำได้โดย 1. เปิดไฟล์ httpd.conf ขึ้นมา แล้ว แก้ไขดังนี้ 1.1 Enable mod_rewrite ก่อน โดยการ เอา เครื่องหมายชาร์ป (#) หน้า LoadModule rewrite_module modules/mod_rewrite.so ออก 1.2 แก้ไข <Directory/>...</Directory> ให้เปลี่ยน “AllowOverride None” เป็น “AllowOverride All” CODE <Directory /> Options FollowSymLinks AllowOverride All Order deny,allow Deny from all Satisfy all </Directory> 1.3 [optional] เปลี่ยน “AccessFileName .htaccess” to “AccessFileName htaccess“ เพราะ Windows ไม่สามารถมี ชื่อไฟล์ ขึ้นต้นด้วย จุด "." แต่ Window XP ทำได้ นะ 2. จากนั้น ก็ Restart Apache Server ซะ คนหัวเกรียน. หาตั้งนานกว่าจะเจอ จำได้ว่าบอลเคยมีปัยหา แล้วเซ็ตตามนี้หายเลย ทีหลังต้อง bookmark ไว้ (พอดีตอนนั้นยังไม่มีระบบบุคมาร์กในบอร์ด) หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 14:09:48 ขอบคุณมากๆเลยค่ะ เด๋วจะค่อยๆทำดู อ่านคร่าวๆแล้วมึนตึ๊บเลย เอิ้กๆๆ
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 14:11:24 +1 ให้ทุกท่านเลย ขอบคุณหลายๆค่ะ
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 14:26:29 รบกวนถามข้อ 1.2 ใช่อันนี้ป่าวคะ
โค๊ด: <Directory /> ทำได้แล้วค่าาา เย๊ๆๆๆๆ :'( :'( :-* :-* หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: ball6847 ที่ 22 ตุลาคม 2008, 14:57:05 ยินดีด้วยก๊าบบบบ
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: ฉันไม่มีตัวตน ที่ 22 ตุลาคม 2008, 15:04:21 ขอบคุณด้วยคน ครั้งที่แล้วผมยังทำไม่ได้เลย 555
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: barbies55 ที่ 22 ตุลาคม 2008, 15:06:58 กรำ ติดอันนี้อีกแระ
Zend Optimizer not installed :-X ทามงายดี :'( หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: Synchronize ที่ 22 ตุลาคม 2008, 15:10:26 โหลดมาลงสิครับ
http://www.zend.com/en/products/guard/optimizer/ หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: eBay ที่ 06 พฤศจิกายน 2008, 04:17:42 ปัญหาเดียวกันเลย 55
หัวข้อ: Re: 500 Internal Server Error ใน localhost (appserv) เริ่มหัวข้อโดย: deeteesud ที่ 29 มิถุนายน 2009, 19:00:15 นั่งแก้อยู่ตั้งนานไม่ได้ซะที
ตอนนี้แก้ได้แล้วครับ ขอบคุณมากเลยครับ |