วิธีทำไฟล์เว็บ PHP ให้เป็นนามสกุลอื่นๆ ??

เริ่มโดย จับกัง, 08 พฤษภาคม 2009, 10:54:31

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

จับกัง

วิธีทำไฟล์เว็บ PHP ให้เป็นนามสกุลอื่นๆ ??

ตัวอย่าง
อ้างถึงhttp://www.yes-hosting.com/aboutus.yes

พอมีพี่ๆรู้บ้างมั้ยครับ รบกวนช่วยบอกผมทีนะครับ

ขอบคุณครับ

wisstmedia  :-*

Synchronize

ที่ผมนึกออก มีสองวิธีครับ

1. ใช้ mod_rewrite

2. เปลี่ยนมันเอาดื้อๆ เลยใน config ของเว็บเซิฟเว่อ

ตัวอย่างข้อสอง

อ้างถึงLoadModule php5_module "c:/php5/php5apache2_2.dll"
AddType application/x-httpd-php .yes
PHPIniDir "c:/php5"
เนื้อหาความรู้น่าสนใจ ใหม่ๆ
[direct=https://develop.un-no.com/w3/docs/clear-float-in-div]เทคนิคการแก้ไขปัญหาจากการ float ซ้อน float แล้ว clear[/direct]

[direct=https://service.un-no.com/unbbz]ทำเว็บได้ด้วยตัวเองฟรี ด้วยระบบเว็บสำเร็จรูป unbbz , เว็บธรรมดา , เว็บบอร์ด , เว็บขายของ ทำได้หมดเลย[/direct]

EThaiZone

ไม่ต้องถึงกับกำหนดที่ตัวเซอเวอร์หรอกครับ
ทำใน .htaccess ก็ได้

AddType application/x-httpd-php .yes

แค่เท่านี้ใส่ .htaccess ณ โฟลเดอร์นั้นๆ ก็ได้ครับ

edit: จำได้ว่าใน cpanel ก็มีกำหนดพวกนี้ได้นะ  ???

ioff

มา เก็บความรู้ด้วยคนค่ะ  ถ้าสนใจศึกษา mod_rewrite htaccess นี้ ต้องไปศึกษาอัน ที่ไหน ยังไง ค่ะ มีหนังสือไหม ค่ะ

www.thaihoro.co.cc

จับกัง

ใส่คำสั่ง

อ้างถึงAddType application/x-httpd-php .yes

แล้วครับใน .htaccess มันก็ยังไม่ได้ มันขึ้นว่า

อ้างถึง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 www.yieem.com Port 80