S o f t G a n z

Web & Software Developer Gang.

How to set apache to use clean url ?

by Little Bear @March,23 2007 06.04 ( IP : 61...67 )
  1. you must enable modrewrite module by remove # before this line in httpd.conf

    # Enable mod
    rewrite

    LoadModule rewritemodule modules/modrewrite.so


    2. set apache to allow .htaccess file by change value AllowOverride  to All

    # AllowOverride controls what directives may be placed in .htaccess files.

    AllowOverride All

    3. and restart Apache

Post new comment

« 2421
หากท่านไม่ได้เป็นสมาชิก ท่านจำเป็นต้องป้อนตัวอักษรของ Anti-spam word ในช่องข้างบนให้ถูกต้อง
The content of this field is kept private and will not be shown publicly. This mail use for contact via email when someone want to contact you.
Bold Italic Underline Left Center Right Ordered List Bulleted List Horizontal Rule Hyperlink Text Color :)
คำแนะนำ : เนื่องจากได้มีการเปลี่ยนแปลงวิธีการขึ้นบรรทัดใหม่ ซึ่งมีรายละเอียดดังนี้
  • วิธีการขึ้นบรรทัดใหม่โดยไม่เว้นช่องว่างระหว่างบรรทัด ให้เคาะเว้นวรรค (Space bar) ที่ท้ายบรรทัดจำนวนหนึ่งครั้ง
  • วิธีการขึ้นย่อหน้าใหม่ซึ่งจะมีการเว้นช่องว่างห่างจากบรรทัดด้านบนเล็กน้อย ให้เคาะ Enter จำนวน 2 ครั้ง

Main Menu

My recomment topics

Hot topics

Links

PageRank Plus - Google PageRank checking, with a twist.