Topic awaiting preservation: Redirect with RewriteRule |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Berlin, Germany |
posted 09-23-2003 17:47
Hi, code: RewriteEngine on
|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 09-23-2003 18:01
u-neek: It looks OK but with these things you need to keep tweaking - try: code: RewriteEngine on
code: RewriteEngine on
|
Paranoid (IV) Inmate From: everywhere |
posted 09-23-2003 20:17 |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 09-23-2003 20:37
quisja: Your answer is essentially the same as u-neek's above but instead of [0-9] you use [a-zA-Z] - the three keys to understaning things are: |
Bipolar (III) Inmate From: Berlin, Germany |
posted 09-24-2003 15:27
Thanks. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 09-24-2003 15:36
u-neek: Did that work? If so which version? |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 09-24-2003 15:55
Mod rewrite is a monster of an Apache mod. Possibly the most difficult to understand because of the weird way it flows. The best reference is the Apache manual itself. See http://httpd.apache.org/docs/mod/mod_rewrite.html and also http://httpd.apache.org/docs/misc/rewriteguide.html |
Bipolar (III) Inmate From: Berlin, Germany |
posted 09-24-2003 17:10
I don't know which version of them worked, i've used a mix between your 1st and 2nd version. My host doesn't support the XSLT functions. So i cancelled the project on which i was working on and deleted the lines in my .htaccess. |