IT4X เทคนิคคอมพิวเตอร์ โน๊ตบุค ข่าว IT

ข่าวสาร / ความรู้ => ทิป เทคนิค คอมพิวเตอร์ => ตอบถามปัญหาคอม => ข้อความที่เริ่มโดย: ßë©äûšë ที่ พฤษภาคม 15, 2010, 14:44:25

หัวข้อ: ช่วยด้วยคร๊าฟฟ T-T ปัญหา Appserv Modrewrite .htaccess
เริ่มหัวข้อโดย: ßë©äûšë ที่ พฤษภาคม 15, 2010, 14:44:25
คือผมไม่รู้จะใช้ไอ้นี่ยังไงอะครับ >> DPI image hosting script เว็บอัพโหลดสำเร็จรูปเนี่ย

จำได้ว่าตอนนั้นโมชิแนะนำให้ใครซักคนใช้นี่แหละ พอดีนึกขึ้นได้ วันนี้เลยไปหามาลองเล่นมั่ง แต่ปรากฏว่ามันติดตั้งไม่ได้ ไปเห็นในกูเกิ้ลบอกว่าไม่ต้องใช้ sql ผมก็งง ยังไงเนี่ย - - ติดตั้งเ้ท่าไหร่ก็ไม่ได้ซักที มันขึ้นแบบเนี๊ยะ


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.8 (Win32) PHP/5.2.6 Server at 127.0.0.1 Port 80


เปลี่ยน Appserv แล้วก็ไม่ได้ -*- ใครรู้ก็ช่วยบอกหน่อยนะครับ ว่าต้องทำยังไง ขอบคุณครับ
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T
เริ่มหัวข้อโดย: Moshi ที่ พฤษภาคม 15, 2010, 15:30:50
จะอัพรูปใน เครื่องตัวเองเหรอ จริงๆ ตัวนี้ติดตั้งง่ายๆเองหนิ - -*

ใน it ก็มี  www.it4x.com/images (http://www.it4x.com/images)
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T
เริ่มหัวข้อโดย: ßë©äûšë ที่ พฤษภาคม 15, 2010, 15:36:39
อะไรที่มันง่ายผมมักจะทำไม่ได้งี้แหละ T-T คือผมจะติดตั้งใส่ Appserv ในเครื่องตัวเองอะ แค่ลองเล่นๆดู แต่มันทำไม่ได้ซักที T-T

แล้วมันก็ขึ้่นอย่างที่บอกไปแหละครับ เหมือนมันจะบอกว่า php มันไม่ลองรับ หรืออะไรหว่า งง :P
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T
เริ่มหัวข้อโดย: Moshi ที่ พฤษภาคม 15, 2010, 15:38:44
ใช่ละใช้ appserv ละซิท่า

ให้ลบ .htaccess ออก เพราะ appserv ทำงานไม่ได้ครับ

แล้วก็เข้า ไป install.php ซะครับ จบเลย ^^ งามไส้
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T
เริ่มหัวข้อโดย: ßë©äûšë ที่ พฤษภาคม 15, 2010, 15:44:37
โอ้่ว~ได้และครับ ขอบคุณมากๆิเลย :'(

ว่าแต่ว่าเพราะอะไรถึงต้องลบตัวนั้น ???
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T
เริ่มหัวข้อโดย: Moshi ที่ พฤษภาคม 15, 2010, 15:50:21
ลงได้สงสัยบัคกระจาย ฮะๆ

จะพาแก้แบบใหม่ เพราะ appserv ไม่ได้เปิด mod rewrite


ทำให้ apache รู้จัก .htaccess

สำหรับวิธีการ config apache ให้รู้จัก .htaccess บน Windows ทำได้โดย
1. เปิดไฟล์ httpd.conf ขึ้นมา แล้ว แก้ไขดังนี้ ไฟล์อยู่ที่โพลเดอร์ appservApache2.xconf
  1.1 Enable mod_rewrite ก่อน โดยการ เอา เครื่องหมายชาร์ป (#) หน้า LoadModule rewrite_module modules/mod_rewrite.so ออก
  1.2 แก้ไข ... ให้เปลี่ยน “AllowOverride None” เป็น “AllowOverride All”
CODE
    
        Options FollowSymLinks
        AllowOverride All
        Order deny,allow
        Deny from all
        Satisfy all
    


  1.3 [optional] เปลี่ยน “AccessFileName .htaccess” to “AccessFileName htaccess“ เพราะ Windows ไม่สามารถมี ชื่อไฟล์ ขึ้นต้นด้วย จุด "."
แต่ Window XP ทำได้ นะ

2. จากนั้น ก็ Restart Apache Server ซะ


ขอบคุณ : คนหัวเกรียน.
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T ปัญหา Appserv Modrewrite .htaccess
เริ่มหัวข้อโดย: ßë©äûšë ที่ พฤษภาคม 15, 2010, 16:28:56
ง่ะ!! :o รู้ด้วยแฮะว่าต้องมาอีก

คืองงอะครับ ตรงนี้ออะ
อ้างถึง
1.2 แก้ไข ... ให้เปลี่ยน “AllowOverride None” เป็น “AllowOverride All”
CODE
   
        Options FollowSymLinks
        AllowOverride All
        Order deny,allow
        Deny from all
        Satisfy all
   


  1.3 [optional] เปลี่ยน “AccessFileName .htaccess” to “AccessFileName htaccess“ เพราะ Windows ไม่สามารถมี ชื่อไฟล์ ขึ้นต้นด้วย จุด "."
แต่ Window XP ทำได้ นะ
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T ปัญหา Appserv Modrewrite .htaccess
เริ่มหัวข้อโดย: Moshi ที่ พฤษภาคม 15, 2010, 16:39:45
ง่ะ!! :o รู้ด้วยแฮะว่าต้องมาอีก

คืองงอะครับ ตรงนี้ออะ
อ้างถึง
1.2 แก้ไข ... ให้เปลี่ยน “AllowOverride None” เป็น “AllowOverride All”
CODE
   
        Options FollowSymLinks
        AllowOverride All
        Order deny,allow
        Deny from all
        Satisfy all
   


  1.3 [optional] เปลี่ยน “AccessFileName .htaccess” to “AccessFileName htaccess“ เพราะ Windows ไม่สามารถมี ชื่อไฟล์ ขึ้นต้นด้วย จุด "."
แต่ Window XP ทำได้ นะ

ในไฟล์ httpd.conf นั้นแหละให้ ใช้ search หาคำว่า AllowOverride

แล้ว copy ... จากในนี้แทนเลย
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T ปัญหา Appserv Modrewrite .htaccess
เริ่มหัวข้อโดย: ßë©äûšë ที่ พฤษภาคม 15, 2010, 16:42:32
ช้าไปนิดนึงครับ ผมไปแก้นุ่นแก้นี่จนตอนนี้มันเละหมดแว้ว เด่วลงใหม่ก่อนนะครับ :-X

ว่าแต่ว่า จำได้ว่าตอนแรกตรงส่วนหัว มันขึ้น เออเร่อ อินคูสซีบอทไรนี่แหละ ต้องไปแก้ตรงนั้นด้วยป่าวครับ ???
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T ปัญหา Appserv Modrewrite .htaccess
เริ่มหัวข้อโดย: Moshi ที่ พฤษภาคม 15, 2010, 19:38:10
ช้าไปนิดนึงครับ ผมไปแก้นุ่นแก้นี่จนตอนนี้มันเละหมดแว้ว เด่วลงใหม่ก่อนนะครับ :-X

ว่าแต่ว่า จำได้ว่าตอนแรกตรงส่วนหัว มันขึ้น เออเร่อ อินคูสซีบอทไรนี่แหละ ต้องไปแก้ตรงนั้นด้วยป่าวครับ ???

อันไหนเน้อครับ - -??
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T ปัญหา Appserv Modrewrite .htaccess
เริ่มหัวข้อโดย: ßë©äûšë ที่ พฤษภาคม 17, 2010, 08:55:22
อันนี้อะ

อ้างถึง
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:AppServwwwUploadincludesdpi_sebots.php on line 79

Warning: file_get_contents(http://www.image-host-script.com/downloads/se_bots_ips.txt.gz (http://www.image-host-script.com/downloads/se_bots_ips.txt.gz)) [function.file-get-contents]: failed to open stream: No such file or directory in C:AppServwwwUploadincludesdpi_sebots.php on line 79

แล้วจะแก้เป็นอะไรดีล่ะโมชิ :-*
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T ปัญหา Appserv Modrewrite .htaccess
เริ่มหัวข้อโดย: Moshi ที่ พฤษภาคม 17, 2010, 11:54:25
อันนี้อะ

อ้างถึง
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:AppServwwwUploadincludesdpi_sebots.php on line 79

Warning: file_get_contents(http://www.image-host-script.com/downloads/se_bots_ips.txt.gz (http://www.image-host-script.com/downloads/se_bots_ips.txt.gz)) [function.file-get-contents]: failed to open stream: No such file or directory in C:AppServwwwUploadincludesdpi_sebots.php on line 79

แล้วจะแก้เป็นอะไรดีล่ะโมชิ :-*

อันนี้เป็น include ฟังก์ชั่น แล้วมัน ดึงไม่ได้เฉยๆครับ

ลองเชือ่อมต่อเน็ตใหม่ดูครับ
หัวข้อ: Re: ช่วยด้วยคร๊าฟฟ T-T ปัญหา Appserv Modrewrite .htaccess
เริ่มหัวข้อโดย: ßë©äûšë ที่ พฤษภาคม 17, 2010, 13:47:08
หมายความว่าให้รีเซ็ตเน็ตใหม่เหรอครับ ???

เห็นทีจะยาก :P

ว่าแต่ว่า..ผมลองติดตั้งใหม่หลายรอบแล้วมันก็เป็นเหมือนเดิมนะ ???