Comments (8)
It is not yet possible.
More people requested it. Can you tell me about your use case, why do you need that?
from mycorrhiza.
Oh yeh, need this too. Use case: pubnix / shared server environment where you have ~/public_html
sharing from your home directory and no access to the root of the domain or Nginx configuration as adminstrator. I've just tried this and the software assumes it controls the root of the domain.
from mycorrhiza.
Use case: pubnix / shared server environment where you have
~/public_html
sharing from your home directory
How is it related? Mycorrhiza wikis can be stored in any directory.
from mycorrhiza.
Nginx will typically serve pubnix.com/~foo
but when you load the page, the software assumes pubnix.com/static/
holds the CSS but instead, pubnix.com/~foo/static
holds the static files (so you get 404'd styles). Also some of the URLs e.g. registration assume pubnix.com/...
without the sub-path which breaks ofc.
from mycorrhiza.
Nginx will typically serve
pubnix.com/~foo
but when you load the page, the software assumespubnix.com/static/
holds the CSS but instead,pubnix.com/~foo/static
holds the static files (so you get 404'd styles). Also some of the URLs e.g. registration assumepubnix.com/...
without the sub-path which breaks ofc.
You seem to use filesystem paths and URLs interchangeably. They are different. I don't quite understand what do you mean. Can you please provide a complete list of actions, what did you expect, and what happened instead.
from mycorrhiza.
Note for a future implementer. The <base>
tag can be used:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
from mycorrhiza.
You seem to use filesystem paths and URLs interchangeably.
I only used URLs.
from mycorrhiza.
Note for a future implementer. The
<base>
tag can be used:
I tried adding the <base>
tag, but it doesn't work. Root-relative links (such as /hypha/Name
) are still relative to the root of the path specified in <base>
.
Example: (https://jsbin.com/maciqavoja)
<head>
<base href="https://github.com/shivrm/">
</head>
<a href="/mycorrhiza">/mycorrhiza</a> links to https://github.com/mycorrhiza
from mycorrhiza.
Related Issues (20)
- Omit something in /random
- When an empty hypha has a colon ":" in its name, it shows like there is some content inside HOT 6
- editing hypha with no internet connection HOT 5
- Reindex hyphae automatically
- Image upload? HOT 2
- Add Betula to the list of interwiki site engines
- Powerful authentication with caddy-security HOT 3
- question: how to nest hyphae? HOT 2
- Improved page printing HOT 9
- Asciidoc instead of Mycomarkup? HOT 2
- Creating `static/common.css` doesn't redefine default styles HOT 1
- Website down? HOT 1
- Add /today and /edit-today
- GPG Password Prompt when Creating Hyphae HOT 2
- Redirection hyphae should not show under subnodes HOT 2
- `silentGitsh` ignores environment variables HOT 1
- Changing passwords HOT 10
- Make a new category auto-complete based on JavaScript
- Category descriptions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mycorrhiza.