<div>follow the steps foe solution:</div>
<div>1. download dotnetviewersample</div>
<div>2. keep it in c:\programmefiles\mapguideopensource\webserverextension\www\</div>
<div>3. edit ajaxviwersample.aspx for replacing the weblayout path &amp; name</div>
<div>4. if the sample is plced in same machine where u make the eblayout then no problem</div>
<div>5. make virtual directory for the folder of sample</div>
<div>6. copy bin folder from www\ &amp; webconfig.ini</div>
<div>7. from administrative tools \services stop &amp; start the mapguide server</div>
<div>8. fire the page</div>
<div>9 if not running</div>
<div>10 restart</div>
<div>11. enjoy<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/20/06, <b class="gmail_sendername">Andrew DeMerchant</b> &lt;<a href="mailto:andrew.demerchant@gemtec.ca">andrew.demerchant@gemtec.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div text="#000000" bgcolor="#ffffff">Ah, sorry.....could you set the default page for the &quot;ourname&quot; folder to &quot;?WEBLAYOUT=Library%3a%2f%2fTrans%2fLayouts%2fTrans.WebLayout&quot;? This would be in your www server (IIS or Apache)
<br>&nbsp;</div>
<div><span class="sg"><br>Andrew</span></div>
<div><span class="q"><br><br>simflex wrote:<br>
<blockquote cite="http://mid5415299.post@talk.nabble.com" type="cite"><pre>Thanks again, good people.

I guess I am not explaining myself well.

I am trying to find out how to have an address similar to this:

<a title="http://mapguide.spatialgis.com/mapguide/spokanemaps" onclick="return top.js.OpenExtLink(window,event,this)" href="http://mapguide.spatialgis.com/mapguide/spokanemaps" target="_blank">http://mapguide.spatialgis.com/mapguide/spokanemaps
</a>

instead of this:

<a title="http://cane2/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fTrans%2fLayouts%2fTrans.WebLayout" onclick="return top.js.OpenExtLink(window,event,this)" href="http://cane2/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fTrans%2fLayouts%2fTrans.WebLayout" target="_blank">
http://cane2/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fTrans%2fLayouts%2fTrans.WebLayout</a> 

Andrew, I believe that when I posted this question before, you indicated to
me that this is an invalid web address.

Of course it works when I copy it and paste it in an address bar but I am
wondering what is the best way to make the url more regular like
<a title="http://cane2/mapguide/ourname/" onclick="return top.js.OpenExtLink(window,event,this)" href="http://cane2/mapguide/ourname/" target="_blank">http://cane2/mapguide/ourname/</a>... and get rid of this portion:

?WEBLAYOUT=Library%3a%2f%2fTrans%2fLayouts%2fTrans.WebLayout 


  </pre></blockquote><br></span></div>
<div>
<div>-- <br>
<table cellspacing="0" cellpadding="10" width="420" border="1">
<tbody>
<tr>
<td>
<div align="center"><img height="68" width="208" align="textTop" border="0"></div></td>
<td><div></div>
<div><span class="q"></span></div>
<td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="3"><b>Andrew DeMerchant</b></font><font size="3"><br></font><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2"><b>Computer Technologist</b>
<br></font><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="1">ph.1-877-4GEMTEC x.163<br>fax 506-453-9470<br></font><font size="1"></font>
<p><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2"><i><a title="http://www.gemtec.ca" onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.gemtec.ca/" target="_blank">GEMTEC&nbsp;Limited</a>
<br></i></font><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="1">191 Doak Road</font><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="1">Fredericton, NB, Canada<br></font><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="1">
E3C 2E6</font></p></td>
<td><div></div>
<div></div></td></td></tr></tbody></table></div></div></div><br clear="all"></blockquote></div><br><br clear="all"><br>-- <br>Thanks A Lot<br>Have A Nice Time<br>Have Fun<br>Be Jolly<br>Sukalyan Chakraborty<br>[Software Developer]