A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: mod rewrite

  1. #1
    Senior Member RazoRmedia's Avatar
    Join Date
    Oct 2000
    Location
    UK
    Posts
    3,016

    mod rewrite

    anyone have any idea how to do a mod rewrite to change php pages to html pages, its destroying my will to live at the minute..

  2. #2
    Information Architect Subway's Avatar
    Join Date
    Feb 2000
    Location
    Switzerland
    Posts
    4,779
    Sure you don't want to ask our backend board?

    Fredi
    Mind Share Projects [ <- my latest projects ] [ my splash page -> ] Fredi Bach
    OS X Code (r,s) [ my Mac, web 2.0 and programming blog ]
    Not A Blog [ my personal weblog ]
    jMe Feed Aggregator [ my latest most famous project ]
    Web Command Line [ use the web like a real geek ]

  3. #3
    Senior Member RazoRmedia's Avatar
    Join Date
    Oct 2000
    Location
    UK
    Posts
    3,016
    hehe, spose so.

  4. #4
    Senior Member Vincent26381's Avatar
    Join Date
    Feb 2003
    Location
    The Netherlands
    Posts
    833
    You want to parse html as PHP or have .html as extention in your url?

    Both ways:

    htaccess:
    Code:
    AddType application/x-httpd-php .html
    (can add some load to the server because all html is parsed as php

    mod_rewrite:

    Code:
    RewriteEngine On
    RewriteRule ^[a-zA-Z0-9]*)$.html  $1.php
    Could need some rewrite depending on the situation.
    Vincent
    SWIS BV

    Last edited by Markp.com on 07-23-2003 at 02:25 AM

  5. #5
    Senior Member RazoRmedia's Avatar
    Join Date
    Oct 2000
    Location
    UK
    Posts
    3,016
    thanks Vincent, I'll try that

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center