Files
hosting/var/www/html/faq.php

20 lines
4.2 KiB
PHP

<?php
require('../common.php');
header('Content-Type: text/html; charset=UTF-8');
print_header(_('FAQ'));
?>
<h1><?php echo _('Hosting - FAQ'); ?></h1>
<?php main_menu('faq.php'); ?>
<table border="1">
<tr><th><?php echo _('Question'); ?></th><th><?php echo _('Answer'); ?></th></tr>
<tr><td><?php echo _("Your rules are so strict. Can't you make an exception for my site?"); ?></td><td><?php echo _("No, I will not make exceptions for any site and neither am I corruptible by offering me money. Once I start making an exception for your site, I would have to for every other site as well which is the same as if the rules didn't exist."); ?></td></tr>
<tr><td><?php echo _("I have an .htaccess file, but it doesn't work. How can I fix it?"); ?></td><td><?php printf(_('.htaccess files are meant for Apache2 webservers. My server is based on NginX, which is much faster due to using static configuration files and not reading files like .htaccess at runtime. You can <a href="%s">contact me</a> and tell me your sites address where the .htaccess file is. I will then check your .htaccess and convert the rules to NginX rules and apply those.'), CONTACT_URL); ?></td></tr>
<tr><td><?php echo _("I just uploaded my page, but it's broken. HELP!"); ?></td><td><?php printf(_('Most likely your site makes use of rewriting rules, which are typically located in an .htaccess file or are mentioned in a README file. Just <a href="%s">contact me</a> in this case. Also see the previous question.'), CONTACT_URL); ?></td></tr>
<tr><td><?php echo _('Can I host a porn site?'); ?></td><td><?php echo _('Yes as long as your content is legal you may upload adult content.'); ?></td></tr>
<tr><td><?php echo _('What is the directory structure for when I connect via sftp?'); ?></td><td><?php echo _("There are several directories you on the server for your account:<br><b>Maildir</b> - used to store your mails in (don't touch it)<br><b>data</b> - You can store application data here that should not be accessible via your site. E.g. configuration or database files.<br><b>tmp</b> - anything saved here will automatically be deleted after about 24 hours<br><b>www</b> - this is where you upload your website which becomes then available under your domain.<br><b>logs</b> - you will find webserver logs here<br><b>.ssh</b> - by uploading your ssh public key as authorized_keys in this folder, you can authenticate to sftp using your ssh key, without a password"); ?></td></tr>
<tr><td><?php echo _('My application is very ressource intensive, or I want to host a different service e.g. my own tor relay. Can you get me a VPS?'); ?></td><td><?php echo printf(_('Yes, if you have special requirements, want a dedicated VPS for your application or just want to anonymously support the Tor network (or other networks) without having to deal with server setup etc. I can offer you a managed VPS hosting. However, this will not be for free. It depends on which server you want me to get. For details, <a href="%s">contact me</a>'), CONTACT_URL); ?></td></tr>
<tr><td><?php echo _('I want to also publish my site on clearnet. Can you offer a clearnet relay?'); ?></td><td><?php printf(_('Yes, I can offer you a free subdomain of %1$s, which you can configure in your dashboard. Or if you have your own domain you can use that one, point your DNS settings to the IPs given in your dashboard and <a href="%2$s">contact me</a> for setting up an SSL certificate for your domain.'), CLEARNET_SUBDOMAINS, CONTACT_URL); ?></td></tr>
<tr><td><?php echo _("I'm using CloudFlare, but when I open my site, it shows too many redirects."); ?></td><td><?php echo _('By default CloudFlare makes unencrypted requests to the backend server, but my server tells any client that wants an insecure connection to upgrade to a secure connection and use https:// instead of http://. CloudFlare just forwards this redirection to the client, which then again asks CloudFlare for the same thing again, but CloudFlare still connects to my server via an insecure http:// connection. To fix this, go to your CloudFlare dashboard and manage your domains settings. Under "Crypto" you can find settings for SSL. Change the setting from Flexible to Full, which makes CloudFlare use a secure https:// connection when talking to my server.'); ?></td></tr>
</table>
</body></html>