littleman

msg:1496363 | 4:49 am on Jun 19, 2001 (gmt 0) |
I've also used something similar on *nix many times without any problem The first thing that hit me about your error log is that the slashes are going the wrong way. This makes me think that it might be a mod_rewrite mapping problem.
|
littleman

msg:1496364 | 4:54 am on Jun 19, 2001 (gmt 0) |
or not.
|
Brett_Tabke

msg:1496365 | 4:56 am on Jun 19, 2001 (gmt 0) |
I bolded the error portion so it stood out a bit more in the log lines above.
|
littleman

msg:1496366 | 5:18 am on Jun 19, 2001 (gmt 0) |
Try this: RewriteEngine on RewriteBase /foo/forum1/ RewriteRule ^/page\.html$ page.cgi [T=application/x-httpd-cgi]
|
Brett_Tabke

msg:1496367 | 8:28 am on Jun 19, 2001 (gmt 0) |
Not it either. I did just installed the newest version too. Must be something in my config file. I don't see anything that would want to do further substitutions (no aliases other than cgi-bin at all).
|
DaveAtIFG

msg:1496368 | 12:49 pm on Jun 19, 2001 (gmt 0) |
If it's the last rule in the grouping try adding the [L] parameter as in RewriteRule ^page\.html$ page.cgi [T=application/x-httpd-cgi] [L]
|
littleman

msg:1496369 | 5:30 pm on Jun 19, 2001 (gmt 0) |
Did you try it without 'RewriteBase /foo/forum1/' ? Perhaps it is causing a duplication of server paths?
|
Puffin

msg:1496370 | 2:07 pm on Oct 26, 2001 (gmt 0) |
Let's bring this old topic to the top again. I have the same annoying problem! Did you find a solution to this problem??? tnx (edited by: Puffin at 2:33 pm (gmt) on Oct. 26, 2001)
|
mark_roach

msg:1496371 | 2:21 pm on Oct 26, 2001 (gmt 0) |
Welcome to WMW Puffin. I have successfully used mod rewrite ok under windows to do something similar. I have not got the exact solution to hand but I think that you need to include c:\ in the rewrite base directive.
|
Puffin

msg:1496372 | 2:40 pm on Oct 26, 2001 (gmt 0) |
Nope, does not make any difference. I did not use a rewrite base. The .htaccess file I am using is the same I use on on a linux server and there it works perfectly.
|
mark_roach

msg:1496373 | 9:44 pm on Oct 26, 2001 (gmt 0) |
Sorry about that, must be my memory playing tricks with me. The only difference I have between my UNIX and windows versions is that I fully qualify the path to the cgi in the windows environment. Unix RewriteRule ^(.*)\.html$ ../cgi-bin/kennel.cgi?id=$1 [T=application/x-httpd -cgi] Windows RewriteRule ^(.*)\.html$ /localchampdogs/cgi-bin/kennel.cgi?id=$1 [T=application/x-httpd-cgi]
|
Brett_Tabke

msg:1496374 | 7:18 am on Oct 27, 2001 (gmt 0) |
I fixed it by adding absolute drive paths to my conf file for the root dir of each domain.
|
Puffin

msg:1496375 | 5:24 pm on Oct 28, 2001 (gmt 0) |
Tnx, Brett and Mark. (and others of course) I've found it! A slash did the trick. RewriteRule ^pagina/([0-9]+) /pageview.php?pageid=$1 instead of RewriteRule ^pagina/([0-9]+) pageview.php?pageid=$1
|
|