Changeset 3f92d92 for installer


Ignore:
Timestamp:
Jun 9, 2018 4:48:57 PM (22 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
ee50123
Parents:
2014533
Message:

eepsite: More help page fixes (ticket #2214)
Re-enable dir listings, required for help page links

Location:
installer/resources/eepsite
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • installer/resources/eepsite/contexts/base-context.xml

    r2014533 r3f92d92  
    1616    <Arg>max-age=3600,public</Arg>
    1717  </Call>
    18   <!-- change to true to allow directory listings -->
     18  <!-- change to false to disallow directory listings -->
    1919  <Call name="setInitParameter">
    2020    <Arg>org.eclipse.jetty.servlet.Default.dirAllowed</Arg>
    21     <Arg>false</Arg>
     21    <Arg>true</Arg>
    2222  </Call>
    2323  <Call name="setMimeTypes">
  • installer/resources/eepsite/docroot/help/index.html

    r2014533 r3f92d92  
    3131    </p>
    3232
    33     <p>The webserver's root directory can be found in the following locations, depending on your operating system:
    34     </p>
    35 
    36     <ul>
    37       <li> <b>Linux</b><br>
     33    <p id="dir">The webserver's root directory can be found in one of the following locations, depending on your operating system:
     34    </p>
     35
     36    <ul>
     37      <li><b>Linux</b><br>
    3838        Standard install: <code>~/.i2p/eepsite/docroot/</code><br>
    39         Package install, running as a service: <code>~/var/lib/i2p/i2p-config/eepsite/docroot/</code>
    40       </li>
    41       <li> <b>Windows</b><br>
     39        Package install, running as a service: <code>/var/lib/i2p/i2p-config/eepsite/docroot/</code>
     40      </li>
     41      <li><b>Windows</b><br>
    4242        <code>%APPDATA%\I2P\eepsite\docroot\</code>
    4343      </li>       
    44       <li> <b>Mac</b><br>
     44      <li><b>Mac</b><br>
    4545        <code>/Users/(user)/Library/Application Support/i2p</code>
    4646      </li>
     
    8585      </li>
    8686      <li>In your browser, enter in your website name (<i>something</i>.i2p) and you should be right back here.
    87           Hopefully it worked.
     87          Hopefully it worked!
    8888      </li>
    8989      <li>Before you tell the world about your new website, you should add some content.
    90          Go to the following directory and  replace the index.html redirect page with your own content:
    91         <ul>
    92           <li> <b>Linux</b><br>
    93             <code>~/.i2p/eepsite/docroot/</code>
    94           </li>
    95           <li> <b>Windows</b><br>
    96             <code>%APPDATA%\I2P\eepsite\docroot\</code>
    97           </li>       
    98           <li> <b>Mac</b><br>
    99             <code>/Users/(user)/Library/Application Support/i2p</code>
    100           </li>
    101         </ul>
     90          Go to the server's root directory <a href="#dir">listed above</a> and replace the index.html redirect page with your own content.
    10291      </li>
    10392    </ul>           
    10493
    105     <p>Virtual folders work, so you may host files from a subdirectory without explicitly needing to provide a page  with links to files.
    106       You can change the appearance of the directory listing by supplying an edited jetty-dir.css file
    107       for each of the directories you are serving, demonstrated <a href="lib/">here</a>.
    108       The  <a href="lib/resources">resources sub-directory</a> (containing filetype images for the directory listing)
    109       reverts to the default style.
    110       If you need a template for a basic site, feel free to borrow and adapt  <a href="pagetemplate.html">this page</a> and <a href="lib/">content</a>!
     94    <p>Directory listings are enabled, so you may host files from a subdirectory without providing a page with links to the files.
     95      You may change the appearance of the directory by supplying an edited <a href="lib/jetty-dir.css">jetty-dir.css</a> file for each directory.
     96      The <a href="lib/">lib</a> subdirectory demonstrates a custom style.
     97      The <a href="lib/resources">resources</a> subdirectory demonstrates the default style.
     98      If you need a template for a basic site, feel free to adapt <a href="pagetemplate.html">this page</a> and <a href="lib/">associated content</a>.
    11199    </p>
    112100
     
    199187                <li><a href="irc://irc.freenode.net/i2p">#i2p on Freenode</a>
    200188                </li>
    201                 <li>Anonymously via your resident <a href="irc://127.0.0.1:6668/i2p-help">I2P IRC tunnel</a>.</li>
     189                <li>Anonymously using your local <a href="irc://127.0.0.1:6668/i2p">I2P IRC tunnel</a>.</li>
    202190             </ul>
    203191            <li>The project forum <a href="http://i2pforum.i2p/" target="_blank">i2pforum.i2p</a>.
Note: See TracChangeset for help on using the changeset viewer.