  | |  | mod_rewrite help | mod_rewrite help 2005-01-20 - By Sean T Allen
http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteLog
and the entry directly below that...
Jorge Schrauwen wrote:
> yes, i always get errors! > > and how would i turn on the loggin for mod_rewrite? i don't have it on. > > Jorge > > ------------------------------------------------------------------------ > *From:* Sean T Allen [mailto:sean@(protected)] > *Sent:* Thursday, January 20, 2005 17:05 > *To:* users@(protected) > *Subject:* Re: [users@(protected)] Mod_rewrite help > > Are you getting the error all the time or only when going through a > vhost... > > Have you turned on mod rewrite logging to get a better idea of what is > going on? > > Jorge Schrauwen wrote: > >> Yes, >> Main config -> http >> vhost -> https >> vhost2 -> DAV >> >> Jorge >> ------------------------------------------------------------------------ >> *From:* Sean T Allen [mailto:sean@(protected)] >> *Sent:* Thursday, January 20, 2005 16:33 >> *To:* users@(protected) >> *Subject:* Re: [users@(protected)] Mod_rewrite help >> >> Then it probably is an issue somewhere else in your configuration... >> >> Are you using virtual hosting? >> >> Jorge Schrauwen wrote: >> >>> nope adding the [R,L] didn't help :( >>> >>> Jorge >>> >>> ------------------------------------------------------------------------ >>> *From:* Sean T Allen [mailto:sean@(protected)] >>> *Sent:* Wednesday, January 19, 2005 22:48 >>> *To:* users@(protected) >>> *Subject:* Re: [users@(protected)] Mod_rewrite help >>> >>>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"> <a class="moz-txt-link-freetext" href="http://httpd.apache.org/docs/mod/mod _rewrite.html#RewriteLog">http://httpd.apache.org/docs/mod/mod_rewrite.html #RewriteLog</a><br> <br> and the entry directly below that...<br> <br> Jorge Schrauwen wrote: <blockquote cite="mid200501201625.j0KGPAOU026292@(protected)" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta content="MSHTML 6.00.2900.2523" name="GENERATOR"> <div align="left" dir="ltr"><span class="507512416-20012005"><font color="#0000ff" face="Arial" size="2">yes, i always get errors!</font></span>< /div> <div align="left" dir="ltr"><span class="507512416-20012005"></span> < /div> <div align="left" dir="ltr"><span class="507512416-20012005"><font color="#0000ff" face="Arial" size="2">and how would i turn on the loggin for mod_rewrite? i don't have it on.</font></span></div> <div align="left" dir="ltr"><span class="507512416-20012005"></span> < /div> <div align="left" dir="ltr"><span class="507512416-20012005"><font color="#0000ff" face="Arial" size="2">Jorge</font></span></div> <br> <div class="OutlookMessageHeader" align="left" dir="ltr" lang="en-us"> <hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b> Sean T Allen [<a class="moz-txt-link-freetext" href="mailto:sean@(protected)">mailto :sean@(protected)</a>] <br> <b>Sent:</b> Thursday, January 20, 2005 17:05<br> <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@(protected) .apache.org">users@(protected)</a><br> <b>Subject:</b> Re: [users@(protected)] Mod_rewrite help<br> </font><br> </div> Are you getting the error all the time or only when going through a vhost...<br> <br> Have you turned on mod rewrite logging to get a better idea of what is going on?<br> <br> Jorge Schrauwen wrote: <blockquote cite="mid200501201540.j0KFeMl7018151@(protected)" type="cite"> <meta content="MSHTML 6.00.2900.2523" name="GENERATOR"> <div align="left" dir="ltr"><span class="823573915-20012005"><font color="#0000ff" face="Arial" size="2">Yes,</font></span></div> <div align="left" dir="ltr"><span class="823573915-20012005"><font color="#0000ff" face="Arial" size="2">Main config -> http</font></span>< /div> <div align="left" dir="ltr"><span class="823573915-20012005"><font color="#0000ff" face="Arial" size="2">vhost -> https</font></span></div> <div align="left" dir="ltr"><span class="823573915-20012005"><font color="#0000ff" face="Arial" size="2">vhost2 -> DAV</font></span></div> <div align="left" dir="ltr"><span class="823573915-20012005"></span> < /div> <div align="left" dir="ltr"><span class="823573915-20012005"><font color="#0000ff" face="Arial" size="2">Jorge</font></span></div> <div align="left" dir="ltr"> <hr tabindex="-1"> </div> <div align="left" dir="ltr"><font face="Tahoma" size="2"><b>From:</b> Sean T Allen [<a class="moz-txt-link-freetext" href="mailto:sean@(protected)">mailto:sean@(protected)</a>] <br> <b>Sent:</b> Thursday, January 20, 2005 16:33<br> <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@(protected)">users@(protected)</a><br> <b>Subject:</b> Re: [users@(protected)] Mod_rewrite help<br> </font><br> </div> Then it probably is an issue somewhere else in your configuration...<br> <br> Are you using virtual hosting?<br> <br> Jorge Schrauwen wrote: <blockquote cite="mid200501201453.j0KEr18q022173@(protected)" type="cite"> <meta content="MSHTML 6.00.2900.2523" name="GENERATOR"> <div align="left" dir="ltr"><span class="053545214-20012005"><font color="#0000ff" face="Arial" size="2">nope adding the [R,L] didn't help :(</font></span></div> <div align="left" dir="ltr"><span class="053545214-20012005"></span>  ;</div> <div align="left" dir="ltr"><span class="053545214-20012005"><font color="#0000ff" face="Arial" size="2">Jorge</font></span></div> <br> <div class="OutlookMessageHeader" align="left" dir="ltr" lang="en-us"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> Sean T Allen [<a class="moz-txt-link-freetext" href="mailto:sean@(protected)">mailto:sean@(protected)</a>] <br> <b>Sent:</b> Wednesday, January 19, 2005 22:48<br> <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@(protected)">users@(protected)</a><br> <b>Subject:</b> Re: [users@(protected)] Mod_rewrite help<br> </font><br> </div> <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) .apache.org</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) .apache.org</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> </blockquote> <br> </blockquote> <br> </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)
|
|
 |