Results 1 to 2 of 2

Thread: rewrite errors

  1. #1
    Join Date
    Oct 2005
    Posts
    435

    rewrite errors

    I got the dreaded "bad flag delimiters" and I was wondering if anyone here can show me a mistake.

    The thing is that this is the SAME exact code which was working on the same exact site on a different VPS. The only difference between the 2 machine is the fact that one is 32bit and 64bit. Same cpanel version and apache also. I have no idea why the 64bit version would throw the error. Perhaps the code rules changed on it?


    RewriteEngine on^M
    ^M
    RewriteRule ^$ index.cfm [QSA]^M
    RewriteCond %{REQUEST_FILENAME} !-f^M
    RewriteCond %{REQUEST_FILENAME} !-d^M
    RewriteRule ^(.*)$ index.cfm/%{REQUEST_URI} [QSA,L]RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http://domain.net/moving.page/
    RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http://domain.net/moving.page/

    Thanks for reading.

  2. #2
    Join Date
    Oct 2005
    Posts
    435
    I got this resolved.. stupid .. I had to create another line.

Similar Threads

  1. apache rewrite ==> lighttpd rewrite HELP
    By moonswamp in forum Hosting Security and Technology
    Replies: 0
    Last Post: 07-24-2008, 07:59 PM
  2. apache rewrite ==> lighttpd rewrite HELP
    By Woooo in forum Hosting Security and Technology
    Replies: 9
    Last Post: 06-24-2008, 01:07 PM
  3. mod rewrite
    By Anas User in forum VPS Hosting
    Replies: 1
    Last Post: 02-15-2007, 08:49 PM
  4. Email Errors - 550 Callback errors
    By truenegative in forum Hosting Security and Technology
    Replies: 5
    Last Post: 02-15-2007, 10:43 AM
  5. mod rewrite
    By saghir69 in forum Programming Discussion
    Replies: 5
    Last Post: 08-01-2004, 11:38 PM

Posting Permissions

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