rstudio / rstudio/shiny-server

presence of rmd prevents links to shiny sub folders from working

Open
#97 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
759
Forks
290
Avg merge
20m
Merged PRs (30d)
4

Description

This may be related to #92. If I create an index.rmd file in the /home/user/ShinyApps folder, I can no longer access shiny apps with the server:3838/user/shiny_folder/ url. Instead, "Not Found" is shown. If instead I generate an index.html file from the rmd and then replace the rmd in /home/user/ShinyApps with the html, links work again.

Here is an example of the rmd file in /home/user/ShinyApps. The page renders fine, but not only does clicking the link show "Not Found", a direct link to server:3838/user/shiny_folder/ now also now shows "Not Found". After removing the rmd file, the direct link works again.


---
title: '`r paste("Shiny Home:", Sys.info()[["user"]])`'
output: html_document

---
* [Link](shiny_folder/)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem with index.rmd in /home/user/ShinyApps and a shiny_folder/ link, then compare it with the generated index.html case. Trace how the server handles the ShinyApps directory and the /user/shiny_folder/ URL. Done means both direct and linked subfolder URLs work while index.rmd remains present.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown, r
Domain
backend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.