add gopher

This commit is contained in:
Arya Kiran 2022-10-26 22:38:03 +05:30
parent 183a3f4790
commit 9234000dd7
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
2 changed files with 5 additions and 4 deletions

View File

@ -24,8 +24,8 @@
<p>For more info, see <a href=/sysinfo>/sysinfo</a>
<div class=h><h2 id=site>How do I set up my user site?</h2> <a aria-hidden=true href=#site>#site</a></div>
<p>Simply place all the relevant site files in <code>~/public_html</code> for HTTP &amp; <code>~/public_gemini</code> for Gemini. This will be the root directory for your website/capsule. For example, if a user foo wanted a site, they would create <code>/home/foo/public_html/index.html</code>. A file <code>/bar</code> in foo's user site would be located at <code>/home/foo/public_html/bar</code>.</p>
<p>User sites for HTTP are rendered on the URL foo.vern.cc and vern.cc/~foo. User sites for Gemini also render on both URLs.</p>
<p>Simply place all the relevant site files in <code>~/public_html</code> for HTTP, <code>~/public_gopher</code> for Gopher &amp; <code>~/public_gemini</code> for Gemini. This will be the root directory for your website/gopherhole/capsule. For example, if a user foo wanted a site, they would create <code>/home/foo/public_html/index.html</code>. A file <code>/bar</code> in foo's user site would be located at <code>/home/foo/public_html/bar</code>.</p>
<p>User sites for HTTP are rendered on the URL foo.vern.cc and vern.cc/~foo. User sites for Gemini also render on both URLs. Sadly, due to protocol limitations, gopher only renders on vern.cc/~foo</p>
<div class=h><h2 id=host-this>Can you host X?</h2> <a aria-hidden=true href=#host-this>#host-this</a></div>
<p>If you would like a service to be hosted by us, contact an admin and discuss it with them. You could also add it <a href=https://pad.vern.cc/pad/#/2/pad/edit/VS1bvdzSGTfujDR9J+brXvxb/>here</a>. We are always open to new services to host, but it may take a while to get it fully set up.</p>
@ -44,8 +44,8 @@
<div class=h><h2 id=user-site-error>Why do I get an error when trying to access my user site? I have everything in <code>~/public_html</code>!</h2> <a aria-hidden=true href=#user-site-error>#user-site-error</a></div>
<p>Typically this happens because of incorrect permissions in the folder.</p>
<p>The <code>www-data</code> user must be able to read your website directory, so make your home directory executable and <code>public_html</code> or <code>public_gemini</code> readable and executable.</p>
<p>You can fix the permissions by running <code>chmod 711 ~; chmod 755 ~/public_html ~/public_gemini</code></p>
<p>The <code>www-data</code> user must be able to read your website directory, so make your home directory executable and <code>public_html</code>, <code>public_gopher</code> or <code>public_gemini</code> readable and executable.</p>
<p>You can fix the permissions by running <code>chmod 711 ~; chmod 755 ~/public_html ~/public_gemini ~/public_gopher</code></p>
<div class=h><h2 id=contact>I didn't request an account on a chat program and no longer have the E-mail I signed up with. How can I contact an admin?</h2> <a aria-hidden=true href=#contact>#contact</a></div>
<p>Contact any admin by using the contact methods listed at the <a href=/admins>admins page</a>. The admin will give you a message signed to your ssh pubkey which you can decrypt with your privkey. If that succeeds, you will be given back access to your ~vern account</p>

View File

@ -2,6 +2,7 @@
<ul>
<li><a href=//vern.cc>~vern</a> - The main ~vern website</li>
<li><a href=gemini://vern.cc>~vern Gemini</a> - The ~vern Gemini capsule</li>
<li><a href=gopher://vern.cc>~vern gopher</a> - The ~vern gopher capsule</li>
<li><a href=ssh://vern.cc>SSH (Reg needed)</a> - Users can log in to the ~vern pubnix using SSH</li>
<li>User sites (Reg needed) - Each user can have their own site (HTTP, Gemini, <a href=gopher://vern.cc>Gopher</a>) on username.vern.cc</li>
<li><a href=//ag.vern.cc>Agreper</a> - Minimal, no-JS web forum software</a></li>