Thanks Tim. I finally figured that out yesterday and forgot to mention it
here.

- Dave



On Mon, Mar 17, 2014 at 9:34 PM, [email protected] <
[email protected]> wrote:

> So I know you got through this Dave but for others finding this thread I
> think the thing you were missing there was to keep a / at the end of your
> URLs while testing. The built-in web server in nanoc doesn't automatically
> alias http://0.0.0.0:3000/docs/contribute-code to
> http://0.0.0.0:3000/docs/contribute-code/. In production the Apache web
> server correctly aliases stuff like
> https://usergrid.incubator.apache.org/docs/contribute-code to the proper
> route via a 301 redirect.
>
>
>
> On Sat, Mar 8, 2014 at 8:04 AM, Dave <[email protected]> wrote:
>
>> Hi Tim,
>>
>> I'm getting setup to make some changes to the wonderful website that you
>> (and others) put together. I followed the instructions to build the
>> web-site locally, which are here:
>>
>>     http://svn.apache.org/repos/asf/incubator/usergrid/site/README.md
>>
>> I was able to run the site locally via the run.sh command.
>>
>> Next, I tried to add my new page. I added a new Markdown page at
>> content/docs/contribute-code.md and a reference to it in
>> layouts/default.html. When I view site, I see my reference to my new page
>> but when I click on the link I get a 404 error.
>>
>> Odd thing is, this URL gives a 404:
>>
>>     http://0.0.0.0:3000/docs/contribute-code
>>
>> But this URL works:
>>
>>     http://0.0.0.0:3000/docs/contribute-code/index.html
>>
>> Any idea what I might be doing wrong and why Webrick is not serving up my
>> index.html page?
>>
>> Thanks,
>> - Dave
>>
>
>

Reply via email to