Giter Club home page Giter Club logo

Comments (5)

MarkNijhof avatar MarkNijhof commented on July 23, 2024

Oh right forgot, if you don't add the prefix option then all links to the different posts won't be going from the new defined root but instead from the actual site root /

from toto.

weatheredwatcher avatar weatheredwatcher commented on July 23, 2024

I am having this same issue. I am running toto on heroku as an integrated part of my existing site. Any progress on this?

from toto.

MarkNijhof avatar MarkNijhof commented on July 23, 2024

Hey,

http://cre8ivethought.com/blog/2010/12/06/good-bye-toto-hello-dorsey/

And the most up to date code is here:
https://github.com/MarkNijhof/Cre8iveThought

Let me know if you need help, your content should still be good.

Cheers,

-Mark

On 8 mei 2011, at 19:48, weatheredwatcher
[email protected]
wrote:

I am having this same issue. I am running toto on heroku as an integrated part of my existing site. Any progress on this?

Reply to this email directly or view it on GitHub:
#49 (comment)

from toto.

weatheredwatcher avatar weatheredwatcher commented on July 23, 2024

Awesome. Thanks for the response! I had already figured it out and was about to post a solution!! I think that for the time being, I'll keep playing around with toto....but your solution seems good too!

For those that might experience this issue:

There is a typo in the config.ru file that is given to integrate toto into your site.

In addition to adding the set prefix as Mark describes, you also need to set :root, 'index' and not 'blog'

Anyway. All is working now, so cheers! And Mark, I certainly will take a closer look at your code in the future!!

from toto.

ixti avatar ixti commented on July 23, 2024

Not sure was it in past or not, but latest version of toto has no problems, just put in your toto config:

  # ...
  set :prefix, "foobar"
  # ...

and then run toto under specified path:

map "/foobar" do
  run toto
end

And all paths work like a charm. Anyway original author found his own solution, so I assume that issue can be closed.

from toto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.