question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--url option does not take in account subdirs

See original GitHub issue

Hi and thanks for this nice utility!

I’ve noticed that if I want to publish the static site into a subdirectory, assets, content and public are loaded from web server root.

I would expect that issuing this command: gssg --url "https://www.samplehostname.com/staticsite_dir01/" --dest staticsite_dir01 everything would be stored into and referenced from staticsite_dir01 ready to be dropped inside the public_html of the web server.

Does an option for this exist/is in consideration?

Thanks in advance,

–R

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
RobertoMalatestacommented, Jan 18, 2019

Sure. follow me on twitter at @exedraos and I’ll send you a link.

2reactions
Fried-Chickencommented, Jan 18, 2019

Can you host it somewhere where I can have a look?

Read more comments on GitHub >

github_iconTop Results From Across the Web

URL not resolving to subdirectory - WordPress.org
I installed wordpress in its own folder so on root its /wordpress/. I created all the pages and tested before going live. I...
Read more >
Allow subdirectory with Apache - Server Fault
Since /var/www/html is configured with "AllowOverride None" then the problem is not due a .htaccess file changing the access rights. The only remaining...
Read more >
Option AllowWebSubdirectories - OCLC Support
Option AllowWebSubdirectories specifies that files in subdirectories of the limited, loggedin and public directories may be served to users.
Read more >
Middleman paths not working on subdirectory - Stack Overflow
So, this is my first middleman project and I'm struggling with how middleman manages links. As it is, I've set it up on...
Read more >
Drupal installed in subdirectory but made to appear in root
In you content you will just have to enter the relative path from one of these roots. A relative url for the bartik...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found