mod_rewrite help 2005-01-19 - By Sean T Allen
RewriteEngine on RewriteRule ^/imageview5/view/(.*)/(.*) http://schrauwen.no-ip.org/imageview5 /index.php?album=$1&file=$2 [R,L]
Jorge Schrauwen wrote:
>Ok now I have: >--- >RewriteEngine on >RewriteRule ^/imageview5/view/(.*)/(.*) >http://schrauwen.no-ip.org/imageview5/index.php?album=$1&file=$2 >--- >And it olso doesn't work, error log line is still the same. > >Thanx again for the help > >Jorg > > >-----Original Message----- >From: Brian V Hughes [mailto:brianvh@(protected)] >Sent: Wednesday, January 19, 2005 20:40 >To: users@(protected) >Subject: Re: [users@(protected)] Mod_rewrite help > > >Have you tried putting in a line to turn on Rewrite logging? That way you >can look through the log file to see exactly what mod_rewrite is doing to >the request URLs. > >-Brian > > >On Jan 19, 2005, at 02:37 PM, Jorge Schrauwen wrote: > > >>No, still doesnt work, i still get a 404. >> >>I tried from .htaccess and httpd.conf, same result >> >>--- error.log --- >>[Wed Jan 19 20:34:10 2005] [error] [client 192.168.2.4] File does not >>exist: S:/wwwroot/imageview5/view >> >>thanx for the help though >> >>Jorge >> >> > > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP Server Project. >See <URL:http://httpd.apache.org/userslist.html> for more info. >To unsubscribe, e-mail: users-unsubscribe@(protected) > " from the digest: users-digest-unsubscribe@(protected) >For additional commands, e-mail: users-help@(protected) > > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP Server Project. >See <URL:http://httpd.apache.org/userslist.html> for more info. >To unsubscribe, e-mail: users-unsubscribe@(protected) > " from the digest: users-digest-unsubscribe@(protected) >For additional commands, e-mail: users-help@(protected) > > > >
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <pre wrap="">RewriteEngine on RewriteRule ^/imageview5/view/(.*)/(.*) <a class="moz-txt-link-freetext" href= "http://schrauwen.no-ip.org/imageview5/index.php?album=$1&file=$2">http:/ /schrauwen.no-ip.org/imageview5/index.php?album=$1&file=$2</a> [R,L]
</pre> <br> Jorge Schrauwen wrote: <blockquote cite="mid200501192104.j0JL4TKx019187@(protected)" type="cite"> <pre wrap="">Ok now I have: --- RewriteEngine on RewriteRule ^/imageview5/view/(.*)/(.*) <a class="moz-txt-link-freetext" href="http://schrauwen.no-ip.org/imageview5 /index.php?album=$1&file=$2">http://schrauwen.no-ip.org/imageview5/index.php ?album=$1&file=$2</a> --- And it olso doesn't work, error log line is still the same.
Thanx again for the help
Jorg
-----Original Message----- From: Brian V Hughes [<a class="moz-txt-link-freetext" href="mailto:brianvh @(protected)">mailto:brianvh@(protected)</a>] Sent: Wednesday, January 19, 2005 20:40 To: <a class="moz-txt-link-abbreviated" href="mailto:users@(protected)" >users@(protected)</a> Subject: Re: [users@(protected)] Mod_rewrite help
Have you tried putting in a line to turn on Rewrite logging? That way you can look through the log file to see exactly what mod_rewrite is doing to the request URLs.
-Brian
On Jan 19, 2005, at 02:37 PM, Jorge Schrauwen wrote: </pre> <blockquote type="cite"> <pre wrap="">No, still doesnt work, i still get a 404. I tried from .htaccess and httpd.conf, same result --- error.log --- [Wed Jan 19 20:34:10 2005] [error] [client 192.168.2.4] File does not exist: S:/wwwroot/imageview5/view thanx for the help though Jorge </pre> </blockquote> <pre wrap=""><!---->
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <a class="moz-txt-link-rfc1738" href="http://httpd.apache.org/userslist .html"><URL:http://httpd.apache.org/userslist.html></a> for more info. To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users -unsubscribe@(protected)">users-unsubscribe@(protected)</a> " from the digest: <a class="moz-txt-link-abbreviated" href="mailto:users -digest-unsubscribe@(protected)">users-digest-unsubscribe@(protected)< /a> For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href= "mailto:users-help@(protected)">users-help@(protected)</a>
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <a class="moz-txt-link-rfc1738" href="http://httpd.apache.org/userslist .html"><URL:http://httpd.apache.org/userslist.html></a> for more info. To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users -unsubscribe@(protected)">users-unsubscribe@(protected)</a> " from the digest: <a class="moz-txt-link-abbreviated" href="mailto:users -digest-unsubscribe@(protected)">users-digest-unsubscribe@(protected)< /a> For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href= "mailto:users-help@(protected)">users-help@(protected)</a>
</pre> </blockquote> <br> </body> </html>
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@(protected) " from the digest: users-digest-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|