Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Summary-Talk] Viewing Page Requests - PHP
On 5/31/04 8:30 PM Jason LeBaron (jason@jasonlebaron.com) wrote: >On the setting, "Prefix for local URL's", i set this to: > >http://www.domain.com/index.php "Prefix for local URL's" needs to end with the domain name. You don't want to have "/index.php" on the end, as that is part of the URI. >When viewing one of the reports, example 'Visit Exit Points', i've got a >preceding "/" slash that messes up the linked URL's, so i see: > >http://www.domain.com/index.php/?main_page=popup_image&pID=583 > >when rather i should see: > >http://www.domain.com/index.php?main_page=popup_image&pID=583 I think that you are trying to do this backwards. You should probably be configuring Summary so that it doesn't remove the index.php in the first place. This is controlled by "Names that "/" defaults to", on the Miscellaneous configuration page. The associated documentation, <http://summary.net/manual/configuration.html#DirNames>, will explain what is going on. >Also, what if i wanted to strip everything off from the "&" and later, so >that rather than the above, i would have the output of: > >http://www.domain.com/index.php?main_page=popup_image > >Is there a way to strip that off? If you have Summary Plus, SP Lite, or SP you can use Aliases to remove everything after the first '&'. Try this alias: *&* --> $1 Good Luck Jason ----------------- Jason@Summary.Net ----------------- Dr. Seuss books . . . can be read and enjoyed on several levels. For example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed as a searing indictment of the narrow-minded binary counting system. -- Peter van der Linden, Expert C Programming, Deep C Secrets ------------- Go to <http://summary.net/list.html> to update subscription info.
|