<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>Info/Webhosting</title><revhistory><revision><revnumber>19</revnumber><date>2021-06-09 18:56:46</date><authorinitials>gsi</authorinitials></revision><revision><revnumber>18</revnumber><date>2020-10-11 14:14:52</date><authorinitials>independence</authorinitials><revremark>user webpages at username.u.blinkenshell.org with HTTPS now</revremark></revision><revision><revnumber>17</revnumber><date>2020-10-10 19:04:03</date><authorinitials>independence</authorinitials><revremark>no ruby and perl</revremark></revision><revision><revnumber>16</revnumber><date>2011-01-16 18:18:12</date><authorinitials>independence</authorinitials></revision><revision><revnumber>15</revnumber><date>2011-01-16 18:08:26</date><authorinitials>independence</authorinitials></revision><revision><revnumber>14</revnumber><date>2011-01-16 18:06:35</date><authorinitials>independence</authorinitials></revision><revision><revnumber>13</revnumber><date>2010-08-13 18:51:05</date><authorinitials>independence</authorinitials></revision><revision><revnumber>12</revnumber><date>2009-07-07 21:15:54</date><authorinitials>marco</authorinitials><revremark>one more capitalization</revremark></revision><revision><revnumber>11</revnumber><date>2009-07-07 21:12:53</date><authorinitials>marco</authorinitials><revremark>rephrasing, spelling, styling</revremark></revision><revision><revnumber>9</revnumber><date>2008-09-17 16:56:22</date><authorinitials>indigo176</authorinitials><revremark>Typo fix</revremark></revision><revision><revnumber>8</revnumber><date>2008-04-24 18:38:19</date><authorinitials>flipjarg</authorinitials><revremark>mispselnig</revremark></revision><revision><revnumber>7</revnumber><date>2008-02-17 20:00:59</date><authorinitials>localhost</authorinitials><revremark>converted to 1.6 markup</revremark></revision><revision><revnumber>6</revnumber><date>2008-01-07 22:01:37</date><authorinitials>client-81-105-71-188.popl.adsl.virgin.net</authorinitials><revremark>sp</revremark></revision><revision><revnumber>5</revnumber><date>2008-01-03 00:37:47</date><authorinitials>JohanMarcusson</authorinitials><revremark>Updated info, some more info about the proxy</revremark></revision><revision><revnumber>4</revnumber><date>2007-10-08 18:51:48</date><authorinitials>JohanMarcusson</authorinitials><revremark>MySQL link</revremark></revision><revision><revnumber>3</revnumber><date>2007-10-08 18:51:31</date><authorinitials>JohanMarcusson</authorinitials><revremark>Links</revremark></revision><revision><revnumber>2</revnumber><date>2007-09-20 19:35:44</date><authorinitials>JohanMarcusson</authorinitials><revremark>MySQL and category.</revremark></revision><revision><revnumber>1</revnumber><date>2007-09-20 19:33:18</date><authorinitials>JohanMarcusson</authorinitials></revision></revhistory></articleinfo><section><title>Webhosting</title><para>You can host your own personal webpage at Blinkenshell. To do this, put any files you want to be accessible via HTTP in the directory public_html in your home directory. The URL to your webpage will be <code>https://username.u.blinkenshell.org/</code> (old accounts have no HTTPS and are available at <code>http://username.blinkenshell.org</code> instead, ask independence if you want to migrate to the new hostname and HTTPS) </para><para>If you have a file named <code>index.html</code> in your public_html directory that file will be used as the index page when someone browses to your site without requesting a specific file (i.e. <code>https://username.u.blinkenshell.org/</code>). If you do not have an index file a directory listing of all the files in your <code>public_html</code> will be shown instead. </para><para>You can use Apache <code>.htaccess</code>-files to customize the behaviour of your webpage. <ulink url="http://httpd.apache.org/docs/2.0/howto/htaccess.html">Apache documentation on htaccess</ulink>. </para><para>Logs from apache are written to <code>~/logs/access.log</code> (normal traffic) and <code>~/logs/error.log</code> (errors). These files should not be removed. </para><section><title>CGI</title><para><ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/CGI#">CGI</ulink> and <ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/PHP#">PHP</ulink> is only available on <ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/Info/Supporter#">Supporter accounts</ulink>. </para><para>You can use <ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/PHP#">PHP</ulink> and <ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/CGI#">CGI</ulink> scripts to create dynamic webpages. CGI and PHP scripts are executed with mod_fcgi and suexec, which will make all scripts execute with your user id instead of the Apache user. </para><para><ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/PHP#">PHP</ulink> and <ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/Python#">Python</ulink> are installed. You can install your own frameworks such as Django if you like, but they are not installed system-wide. </para></section><section><title>MySQL</title><para>For information on how to use MySQL, see: <ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/Info/MySQL#">Info/MySQL</ulink>. </para></section><section><title>External links</title><itemizedlist><listitem><para><ulink url="http://httpd.apache.org/docs/2.2/">Apache Docs</ulink> </para></listitem><listitem><para><ulink url="http://httpd.apache.org/docs/2.2/howto/htaccess.ht">Apache Docs: htaccess</ulink> </para></listitem><listitem><para><ulink url="http://httpd.apache.org/docs/2.2/suexec.html">Apache Docs: suexec</ulink> </para></listitem><listitem><para><ulink url="http://php.net/">PHP Website</ulink> </para></listitem><listitem><para><ulink url="http://www.hardened-php.net/suhosin/">Suhosin (Hardened PHP)</ulink> </para></listitem><listitem><para><ulink url="http://www.dartmouth.edu/~rc/help/faq/permissions.html">UNIX file permissions tutorial</ulink> </para></listitem></itemizedlist><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://ipv6.blinkenshell.org/wiki/Info/Webhosting/wiki/CategoryInfo#">CategoryInfo</ulink> </para></section></section></article>