<br><div class="gmail_quote">On Mon, Jul 13, 2009 at 9:42 AM, <span dir="ltr"><<a href="mailto:john@netdirect.ca">john@netdirect.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br>
<br>
I've finally found the conditions that cause a problem in Drupal, but it's<br>
so odd that I don't know how to search for an answer.<br>
</blockquote><div><br>Congratulation on the conversion to Drupal!<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Basically under some circumstances a URL path element is repeated. This<br>
can be see in these two URLs:<br>
<br>
<a href="http://www.netdirect.ca/software/packages/barry" target="_blank">http://www.netdirect.ca/software/packages/barry</a><br>
<a href="http://www.netdirect.ca/software/packages/barry/" target="_blank">http://www.netdirect.ca/software/packages/barry/</a><br>
<br>
The URL with the trailing slash will have links on the page (look down to<br>
Getting Started) with duplicate /barry/ elements. e.g.<br>
<a href="http://www.netdirect.ca/software/packages/barry/barry/install.php" target="_blank">http://www.netdirect.ca/software/packages/barry/barry/install.php</a><br>
</blockquote><div><br>Looking at the HTML source, I see this:<br><br><pre id="line144"><<span class="start-tag">li</span>><<span class="start-tag">a</span><span class="attribute-name"> href</span>=<span class="attribute-value">"barry/install.php"</span>>Install Barry from binary packages</<span class="end-tag">a</span>></<span class="end-tag">li</span>><br>
<<span class="start-tag">li</span>><<span class="start-tag">a</span><span class="attribute-name"> href</span>=<span class="attribute-value">"barry/cvs.php"</span>>Compile Barry from tarball, CVS, or git</<span class="end-tag">a</span>></<span class="end-tag">li</span>><br>
</pre>If you change that to <br><br><pre id="line144"><<span class="start-tag">li</span>><<span class="start-tag">a</span><span class="attribute-name"> href</span>=<span class="attribute-value">"/barry/install.php"</span>>Install Barry from binary packages</<span class="end-tag">a</span>></<span class="end-tag">li</span>><br>
<<span class="start-tag">li</span>><<span class="start-tag">a</span><span class="attribute-name"> href</span>=<span class="attribute-value">"/barry/cvs.php"</span>>Compile Barry from tarball, CVS, or git</<span class="end-tag">a</span>></<span class="end-tag">li</span>><br>
</pre><br>Making it an absolute URL, the issue goes away.<br><br>Also, this module helps by eliminating all trailing slashes.<br><br><a href="http://drupal.org/project/globalredirect">http://drupal.org/project/globalredirect</a><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Any ideas on the problem?<br>
<br>
John Van Ostrand<br>
Net Direct Inc.<br>
<br>
CTO, co-CEO<br>
564 Weber St. N. Unit 12<br>
map<br>
<br>
Waterloo, ON N2L 5C6<br>
<br>
<a href="mailto:john@netdirect.ca">john@netdirect.ca</a><br>
Ph: 866-883-1172<br>
ext.5102<br>
Linux Solutions / IBM Hardware<br>
Fx: 519-883-8533<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a> mailing list<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a>@<a href="http://kwlug.org" target="_blank">kwlug.org</a><br>
<a href="http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>