Open sbwaters opened 2 years ago
The best way to approach this imho, is to forget for a moment what you're telling PP to do, but rather, what you want to be done.
And write it down, carefully, using common web terminology, so that you're sure anyone who understands how the web works will understand what you want to do.
That part is your responsibility. No one can read your mind. And no one can solve problems like that without a clear understanding of what the goal is.
Unscatter this, and you know what -- I don't think you're going to need any help.
Using the http://theviewfromafar.com/ domain hosted on my Digital Ocean pagePark, I want to serve these pages in your cloud-based Drummer: http://oldschool.scripting.com/sbwTweet/ http://oldschool.scripting.com/sbwTweet/?tab=links http://oldschool.scripting.com/sbwTweet/?tab=about as coming from the url http://theviewfromafar.com
Then I want to serve every other page of .md, .opml, and .html from /domains/theviewfromafar.com folders and/or subfolders.
I get stuck on using: {"urlSiteContents": "http://oldschool.scripting.com/sbwTweet"} since don’t see in config.jspn how to specify to serve everything else from files local to /domains/theviewfromafar.com
Thank you!
Another specification of the issue: A config.json of: { "redirects": { "/": "http://oldschool.scripting.com/sbwTweet", "/?tab=links": "http://oldschool.scripting.com/sbwTweet/?tab=links", "/?tab=about": "http://oldschool.scripting.com/sbwTweet/?tab=about" } } "works" but the web browser displays in the browser URL field: http://oldschool.scripting.com/sbwTweet instead of http://theviewfromafar.com which is what the config.json attribute "urlContents" would display. Is there a way to display the original URL rather than the redirected url?
Using pagePark on Digital Ocean droplet. [It works!] In pagePark, tried config.json of : { "urlSiteContents": "http://oldschool.scripting.com/sbwTweet" } In browser, the blog rendered, but then browser would show locally stored ".opml" files unrendered.
Then tried: { "defaultExtension": "opml", "urlSiteContents": { "/": { "http://oldschool.scripting.com/sbwTweet" } } Browser showed local ".opml" file rendered, but browser showed blog as a 404.
Goal is to get Drummers’ Blog, Links, and About to show in browser and then serve other ".html" and ."opml" files to serve/render from pagePark files in the domains folder.
Didn’t find in the docs, comments where this is addressed. Thank you for help and or pointers.