ThaiSEOBoard.com

พัฒนาเว็บไซต์ => CMS & Free Script => ข้อความที่เริ่มโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 20:41:51



หัวข้อ: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 20:41:51
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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
-------------------------------------------------------------------------------------------------------
Apache/2 Server at siratschool22.com Port 80

เว็บนี้ครับ   http://siratschool22.com
เว็บรุ่นผมนั่นเอง   :-X

คือลงโมดูลตัวนี้ไปอะครับ  ซักพักมันก็เป็น  ไม่รู้เกี่ยวกันรึเปล่า   :P
ช่วยทีครับ  แก้ยังไง  :'(


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 20:55:55
 :wanwan031:   ไม่มีคนช่วยเลย   :'(
ตอนนี้นั่งง่าวไม่มีอะไรทำอยู่กับ  จะมั่วก็กลัวพังไปกันใหญ่  :'(


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: tagecho ที่ 30 กรกฎาคม 2010, 21:00:12
ลองดูโพลเดอร์เพอร์มิชชั่น ลองเปลี่ยนให้เป็น 755 หรือ 775


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 21:04:24
ลองดูโพลเดอร์เพอร์มิชชั่น ลองเปลี่ยนให้เป็น 755 หรือ 775

เปลี่ยนตรงไหนครับผม   :wanwan017:


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: tagecho ที่ 30 กรกฎาคม 2010, 21:09:23
โฟลเดอร์ที่ ลง ซอฟแวร์
Public_html/folder


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 21:15:35
ไม่หายอะครับผม  :'(
ทำมันทั้ง /domains/siratschool22.com
แล้วอะครับ  ไม่หายเลย  :'(
อุตส่าห์ขยันวันนี้  ถ้าพ้นวันนี้ไปต้องดูฤกษ์ดูยามอีกว่าวันไหนจะขยัน   :-X


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: tagecho ที่ 30 กรกฎาคม 2010, 21:22:16
Script อะไรครับ


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 21:23:55
Script อะไรครับ
อ๊ะ  ลืมบอกครับ  จูมล่านะครับ   :-X


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: tagecho ที่ 30 กรกฎาคม 2010, 21:26:02
รอ Expert มาตอบให้ ไม่อยากเสี่ยง  :-[


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 21:27:53
รอ Expert มาตอบให้ ไม่อยากเสี่ยง  :-[
+1 ครับอุตส่าห์มีน้ำใจมาตอบกระทู้ผม  :'(

รอท่านต่อไปช่วงแก้ปัญหาครับ   :wanwan011:


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 21:45:19
ขออนุญาติขุดนะครับ   :P


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: sss ที่ 30 กรกฎาคม 2010, 21:56:08
ดู error log

แก้ไขไฟล์ .htaccess
ลองแก้ใส่ # RewriteBase / แล้วรันดู


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: tagecho ที่ 30 กรกฎาคม 2010, 22:02:31
ยังไม่ได้อีกเหรอ ช่วยดัน
น่าจะเกิด จากปลั๊กอินน่ะแหละ คิดว่า (มั่ว)  :P


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 22:10:32
ดู error log

แก้ไขไฟล์ .htaccess
ลองแก้ใส่ # RewriteBase / แล้วรันดู

ไม่เข้าใจอะครับ  ต้องทำยังไงหรอครับ



DirectoryIndex index.php
RewriteEngine On
RewriteBase {$base}

โค๊ด:
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ ".xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|=) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|<).*script.*(>|>) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

นี่เป็นไฟล์ .htaccess ของเว็บผมนะครับ   :P


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: sss ที่ 30 กรกฎาคม 2010, 22:16:04
-.- หมายถึง ดู log ของเวบ มันจะมีบอกเบื้องต้นว่าเกิดจากอะไรน่ะ

http://docs.joomla.org/Preconfigured_.htaccess
โค๊ด:
##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

RewriteBase /


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 30 กรกฎาคม 2010, 22:32:35
-.- หมายถึง ดู log ของเวบ มันจะมีบอกเบื้องต้นว่าเกิดจากอะไรน่ะ

http://docs.joomla.org/Preconfigured_.htaccess
โค๊ด:
##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

RewriteBase /

อย่าว่าอย่างโง้นอย่างงี้เลยนะครับ  เค้าดูกันยังไงหรอครับ   :P
 :-X


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: ข้าวจี่ ที่ 30 กรกฎาคม 2010, 23:04:22
ลอง cmd 755 หมดซิ


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 31 กรกฎาคม 2010, 14:41:58
ลอง cmd 755 หมดซิ
ไม่ได้เลยอะครับ   :'(
ผมต้องทำยังไงครับ  ช่วยบอกที  ลบแล้วลงใหม่มันจะหายมั้ยเนี่ย   :P


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 31 กรกฎาคม 2010, 15:19:34
ขอขุดนะครับ   :'(


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: onlyones ที่ 31 กรกฎาคม 2010, 15:20:47
ลบ .htaccess ออกดูครับผม


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: monthonsite ที่ 31 กรกฎาคม 2010, 15:26:05
ปัญหานี้ผมก็เจอครับ เป็นเพราะโฮสไม่อนุญาตหรือไม่รับ .htaccess ต้องลบออกก่อน แล้วค่อยไปดู Apache ลืมๆไปแล้ว ทิ้งจากมันมา 1 ปีประมาณ 6 เดือน


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 31 กรกฎาคม 2010, 15:31:58
ปัญหานี้ผมก็เจอครับ เป็นเพราะโฮสไม่อนุญาตหรือไม่รับ .htaccess ต้องลบออกก่อน แล้วค่อยไปดู Apache ลืมๆไปแล้ว ทิ้งจากมันมา 1 ปีประมาณ 6 เดือน
ลบ .htaccess ออกดูครับผม
+1ให้กับทุกท่านที่ตอบกระทู้นี้ครับ  ลบ .htaccess ใช้งานได้แล้วครับ   :'(

ว่าแต่มันจะมีผลเสียอะไรตามมามั้ยครับ   :wanwan017:


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: monthonsite ที่ 31 กรกฎาคม 2010, 15:34:01
ผลเสียก็คือทำ URL Friendly ไม่ได้


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 31 กรกฎาคม 2010, 15:41:05
ผลเสียก็คือทำ URL Friendly ไม่ได้
กำ  แล้วผมต้องทำยังไงมันถึงจะเฟรนลี่ได้ล่ะครับ   :P


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: onlyones ที่ 31 กรกฎาคม 2010, 15:47:59
ผลเสียก็คือทำ URL Friendly ไม่ได้
กำ  แล้วผมต้องทำยังไงมันถึงจะเฟรนลี่ได้ล่ะครับ   :P

ลองดูนะครับว่า .htaccess oั้นเขียนถูกหรือเปล่าครับถ้ามั่นใจลองดูอีกรอบ

แต่ถ้ามั่นใจแล้วว่าเขียนถูกไม่มีอะไรผิดก็.........

หรือไม่ก็ย้าย Hosting หนีครับ


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 31 กรกฎาคม 2010, 16:06:44
ผลเสียก็คือทำ URL Friendly ไม่ได้
กำ  แล้วผมต้องทำยังไงมันถึงจะเฟรนลี่ได้ล่ะครับ   :P

ลองดูนะครับว่า .htaccess oั้นเขียนถูกหรือเปล่าครับถ้ามั่นใจลองดูอีกรอบ

แต่ถ้ามั่นใจแล้วว่าเขียนถูกไม่มีอะไรผิดก็.........

หรือไม่ก็ย้าย Hosting หนีครับ


โค๊ด:
DirectoryIndex index.php
RewriteEngine On
RewriteBase {$base}

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ ".xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|=) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|<).*script.*(>|>) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
เนี่ยอะครับ ไฟล์ .htaccess ของผม ที่เซฟเอาไว้ก่อนจะลบ  :P


หัวข้อ: Re: 500 Internal Server Error
เริ่มหัวข้อโดย: KaPonGZaYo ที่ 31 กรกฎาคม 2010, 16:36:36
ช่วยดูให้ผมทีครับ   :wanwan031: