-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Polr with no public access #570
Comments
It is sufficient to set said option to false. It shows the inputs but once you click "shorten" it says you need to log in. Edit: changed ambiguous wording |
Thank you. Am I correct that if my domain is my.domain then local files that were heretofore accessible as my.domain/filename must now be accessed at www.my.domain/filename? In order to continue using the original name for the local file (it is used in some shortcuts), could I create a shortened url for www.my.domain/filename? |
I'm not sure if I understood you correctly. According to the setup guide, you have to point the document root of your website to the So long story short, I probably cannot access other files on your domain. |
I guess I wasn’t being clear. I have files that are now accessible as
https://my.domain/file And I would like to be able to continue accessing
them with that URL. If I run polar and all short and domains begin with
http://my.domain, then I presume that my files will be in accessible. First
of all, is that correct? Second, is there a way around this by creating a
shortcut to http://www.my.domain/file which would be accessible as
http://my.domain/file as before?
…On Mon, Oct 26, 2020 at 10:08 AM DBX12 ***@***.***> wrote:
I'm not sure if I understood you correctly. According to the setup guide,
you have to point the document root of your website to the public folder
of this project. So any files outside of the public folder would not be
accessible at all.
Inside the public folder, all requests are redirected to the index.php
which handles all requests.
So long story short, I probably cannot access other files on your domain.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#570 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLDPSGYW4DCOMESQBSNQA3SMV7GFANCNFSM4S6WODJQ>
.
|
If you use an Apache2 webserver and the .htaccess can be parsed (that depends on your webserver settings), you can reach all files sitting i the public directory (so you have to move the files you want to access there). The best solution for your usecase would be having polr installed as a subdomain (e.g. http://s.my.domain/) |
OK, thanks. Just to be clear, my idea of creating shortcuts for the
http://www.my.domain/file to http://my.domain/File would not work?
…On Mon, Oct 26, 2020 at 10:59 AM DBX12 ***@***.***> wrote:
If you use an Apache2 webserver and the .htaccess can be parsed (that
depends on your webserver settings), you can reach all files sitting i the
public directory (so you have to move the files you want to access there).
That is not the recommended approach as it might lead to conflicts with
the shorturls, as you already figured. With the scenario I just described,
you would only get the static file, the shorturl will not be accessible.
The best solution for your usecase would be having polr installed as a
subdomain (e.g. http://s.my.domain/)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#570 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLDPSGAURXV7I3WQEGFOVDSMWFEPANCNFSM4S6WODJQ>
.
|
Assuming |
If I wish to run an instance of Polr that is restricted to logged in users, is it as simple as setting the public instance option to FALSE or is there more required?
The text was updated successfully, but these errors were encountered: