Htaccess Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Htaccess Problem

    Whats wrong with this code?
    Code:
    RewriteEngine On
    RewriteRule ^downloads.htm$	http://mysite.org/ [R,NC,L]
    RewriteRule ^admin$	?go=admin$1 [NC,L]
    RewriteRule ^downloads/([A-Za-z0-9-\/\ \.\_\(\)\+]+).htm$	?go=downloads/$1 [NC,L]
    RewriteRule ^free-download/([A-Za-z0-9-\.\ \_\/\)\(\+]+).htm$	?dload=$1 [NC,L]
    Please tell me,what is wrong with this code.This code does not work it goes to a 404 redirect.

    #2
    I am in the process of learning more about mod_rewrite. I would like to see if I can correct your problem as a learning experience. But first, I need to know what you are WANTING it to do.

    Also, the 404 error occurs when you go to what url?? I can think of several that would give you a 404 error, but not the one you are trying that should work.

    Comment

    Working...
    X