Hi all,<br>
<br>
I found that Seaside 2.5 does not quite permit the usage of a default
root URL. If you have Comanche doing nothing but serving up Seaside
apps I would rather drop the &quot;/seaside/...&quot; part of the URL.&nbsp; To
do this you need to:<br>
<br>
1. Run the following in a workspace: <span style="font-family: courier new,monospace;">WADispatcher default basePath: '/'</span><br>2. Modify WADispatcher#handlerForRequest:relativeTo: in the following location (near bottom add the following line in red).
<br>
<span style="font-family: courier new,monospace;"><br>
&nbsp;&nbsp;&nbsp; (relativePath notEmpty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; and: [relativePath first = $/])</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifTrue: [name _ (relativePath findTokens: '/')</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; at: 1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifAbsent: []]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace; color: rgb(255, 0, 0);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifFalse: [name _ relativePath]. &quot;add this line&quot;<br>
<span style="color: rgb(0, 0, 0);">&nbsp;&nbsp;&nbsp; entryPoints</span><br style="color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; at: name</span><br style="color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifPresent: [:n | ^ n]].</span><br style="color: rgb(0, 0, 0);">
<span style="color: rgb(51, 0, 51);"><span style="color: rgb(0, 0, 0);">&nbsp;&nbsp;&nbsp; ^ WANotFoundHandler new</span><br style="color: rgb(0, 0, 0);">
<br style="color: rgb(0, 0, 0);">
</span></span><span style="color: rgb(255, 0, 0);"><span style="color: rgb(51, 0, 51);"><span style="color: rgb(0, 0, 0);">In
doing this you can run seaside on the default URL. For example:
<a href="http://localhost/config">http://localhost/config</a> instead of
<a href="http://localhost/seaside/config">http://localhost/seaside/config</a>.&nbsp; It is small, but my contribution
for the day.</span><br style="color: rgb(0, 0, 0);">
<br style="color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0);">Regards,</span><br style="color: rgb(0, 0, 0);">
<br style="color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0);">John</span><br style="color: rgb(0, 0, 0);">
</span></span><span style="font-family: courier new,monospace; color: rgb(255, 0, 0);"><span style="color: rgb(51, 0, 51);"><br style="font-family: courier new,monospace;">
</span></span>-- <br>It's easy to have a complicated idea. It's very very hard to have a simple idea. -- Carver Mead