Re: Function returning but continues execution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# david@xxxxxxxxxxxxxxx / 2007-01-22 19:28:29 +0000:
> Roman Neuhauser wrote:
> >Ok, what does RewriteLog contain for one such request?
> >RewriteLogLevel 9.
> 
> http://paste.lisp.org/display/35779

As you can see, the processing doesn't stop when it hits the RewriteRule
you thought was the only relevant (lines 6, 7):

91.84.87.114 - - [22/Jan/2007:19:20:56 +0000] [example.com/sid#91e8128][rid#9235280/initial] (3) [perdir /home/example/public_html/] applying pattern '^section/addfriend(/)?(.*)$' to uri 'section/addfriend/will'
91.84.87.114 - - [22/Jan/2007:19:20:56 +0000] [example.com/sid#91e8128][rid#9235280/initial] (2) [perdir /home/example/public_html/] rewrite 'section/addfriend/will' -> 'index.php?cmd=section/addfriend&username=will'

I think this paragraph from the apache manual applies to you:

# Note: When you use this flag, make sure that the substitution field is
# a valid URL! Otherwise, you will be redirecting to an invalid
# location. Remember that this flag on its own will only prepend
# http://thishost[:thisport]/ to the URL, and rewriting will continue.
# Usually, you will want to stop rewriting at this point, and redirect
# immediately. To stop rewriting, you should add the 'L' flag.


-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux