Htaccess Problem

Started on the old forum in December 2011 · view the original in the archive · old links redirect here

1 reply · 313 views · started 14 years ago · 1 min read

2 participants
Sifat3d Developer · 66 posts #1

Whats wrong with this 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.

Fake hack any website,even coding-talk for some clean FUN!!! Try: fake hacking website Mig33 Software for pc: Mig33 for PC mobile games and software download

Shibbey Newbie · 3 posts #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.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close