Results 1 to 8 of 8

Thread: mod_rewrite

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,428

    Default

    Its installed. It is news to me (or I have forgotten) that it would appear in php.info unless those sites are referring to people that have Apache loaded as a module and not a CGI. We have our PHP loaded as a CGI....

    Either that or possibly another OS or custom PHP I suppose I'd have to research it some more....

    The second quote is wrong because if you search for "rewrite" you would also come up with url_rewriter.tags

    However, the point being to try adding some rewrite rules to your .htaccess file and you will see that the rewrite engine is enabled.
    Last edited by Matt; 07-23-2006 at 12:25 PM.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

  2. #2
    jmarcv's Avatar
    jmarcv is offline Cranky Coder
    Join Date
    Jan 2005
    Posts
    354

    Default

    You will note that in phpinfo, the section on Apache Modules is blank, which is where one would usually see that the rewrite module is loaded. However, It is easily verified as Matt said by actually trying it.

    I just tried this on my site, and it redirects ANY request to the image specified.

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*) http://www.sellersourcebook.com/memb...ch/deleted.jpg

  3. #3
    soulbadguy is offline Almost no longer a newbie!
    Join Date
    Jul 2006
    Posts
    4

    Default

    oh, thanks for telling me about that. I have to say you guys are very fast with replying. thanks again.

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14