FileLocations2: Difference between revisions

From SoylentNews
Jump to navigation Jump to search
No edit summary
No edit summary
Line 251: Line 251:
sql
sql
   mysql
   mysql
     defaults.sql - see page  
     defaults.sql - see this page [[SqlDefaults]]
     schema.sql -s ee page  
     schema.sql -see this page   [[SqlSchema]]
 
tagboxes
tagboxes
themes
themes


</pre>
</pre>

Revision as of 03:00, 20 February 2014

CssWork (parent of this page)
FileLocations FileLocationsMisc
http://www.mediawiki.org/wiki/Help:Formatting

This is the stuff in /usr/local/slash/ main install.

/usr/local/slash


bin
  backup-blocks
  bitchslap
  chkuser
  install-plugin
  install-slashsite
  install-tagbox
  install-theme
  mechmonkey
  modslap
  purge-read-log
  reload_armor
  runtask
  slashmon
  symlink-tool
  template-check
  template-tool
httpd
  slash.conf
  slash.conf.def
index.pl - static page but written by a cron job I believe.
  Interesting stuff in this page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"   
            "http://www.w3.org/TR/html4/strict.dtd">
    
    <link rel="stylesheet" type="text/css" media="screen, projection" href="//slashcode.local/  
       base.css&T_2_5_0_272">
    <link rel="stylesheet" type="text/css" media="screen, projection" href="//slashcode.local/
       admin.css?T_2_5_0_272">
    <link rel="stylesheet" type="text/css" media="screen, projection" href="//slashcode.local/
       slashcode.css?T_2_5_0_272">
    <link rel="stylesheet" type="text/css" media="print" href="//slashcode.local/print.css?T_2_5_0_272">

    <link rel="top"       title="Slash Site" href="//slashcode.local/" >
    <link rel="search"    title="Search Slash Site" href="/search.pl">
    <link rel="prev"      title="Yesterday's News" href="/index.pl?issue=20140206">
    <link rel="alternate" title="Slash Site RSS" href="/slashsite.rss" type="application/rss+xml">
  Some pages are static, but server parsed, like:
    /about.shtml
    /faq.shtml
  Others perl scripts cgi:
    /journal.pl
    /messages.pl
    /topics.pl
    /authors.pl
    /search.pl
    /pollBooth.pl
    /submit.pl (submit story)
  Somewhere, 'my' is redirected, have not found where yet:
    <a href="/my/">Create Account/Log in</a>
  Templates are identified on the page like this:
    <!-- start template: ID 199, sidebox;misc;default -->
    <!-- end template: ID 199, sidebox;misc;default -->
  Whoever wrote this seems to like multiple classes and other less used parts of the language
  Tends to make a change in one thing affect a lot of others.
  So be -very careful- in altering classes to check for unwanted side effects elsewhere.
    <div id="slug-Crown" class="block nosort slug">
plugins
  Whole directory of these, each plugin a directory. 
  Will document this on another page, here is list only.
    Achievements
    Admin
    Ajax
    Blob
    BlockProxyNet
    Bookmark
    CheesyPortal
    Console
    Daypass
    Dilemma
    DynamicBlocks
    Edit
    Email
    Events
    FAQ
    FAQSlashdot
    FHBayes
    FireHose
    Hof
    HumanConf
    Journal
    Login
    Messages
    Metamod
    Moderation
    NewsVac
    OAI
    Page
    PollBooth
    Print
    PubKey
    Rating
    Relocate
    Remarks
    ResKey
    SOAP
    ScheduleShifts
    Search
    SearchToo
    Sections
    Sphinx
    Stats
    Stock
    Submit
    Subscribe
    TagDataView
    TagModeration
    Tags
    Unsubscribe
    Users2
    Validator
    WoW
    YASS
    Zoo
sbin
  dailyStuff
    this program runs various housekeeping tasks, sends out the
    the mailing list, and compiles site statistics report and sends the report
    to the site admin
  portald
    portald is the script that sucks down headlines from assorted
    places on the internet, and puts them in the boxes for use on
    Slashdot.
  slashd
    the daemon that runs tasks from your site's "tasks"
    directory.  Which tasks are in this directory (probably
    /usr/local/slash/site/yoursitename/tasks) depends on which
    theme and plugins (if any) you installed with install-slashsite.
site
  slashcode.local/
    backups/ - empty
    htdocs/
      404.pl
      about.shtml
      admin-topic-popup.css
      admin-topic-popup.js
      admin.css
      admin.pl
      article.pl
      authors.pl
      authors.shtml
      base.css
      blob.pl
      cheesyportal.pl
      cheesyportal.shtml
      comments.css
      comments.pl
      faq.shtml
      fileadmin.pl
      handheld.css
      help.pl
      hof.pl
      hof.shtml
      images
      index.pl
      journal.pl
      messages.pl
      metamod.pl
      moderation.shtml
      ostgnavbar.css
      pollBooth.pl
      polls.css
      print.css
      pubkey.pl
      search.css
      search.pl
      sections.pl
      slashcode.css
      slashcode_lite.css
      slashcode_low_bw.css
      slashcssbase.inc
      slashfoot-messages.inc
      slashfoot.inc
      slashguide.shtml
      slashhead-article.inc
      slashhead-gen-full.inc
      slashhead.inc
      stats.pl
      submit.pl
      topics.pl
      topics.shtml
      users.pl
    logs/
      messaged.log
      portald.log
      slashd.log
    misc/
      spamarmors -> /usr/local/slash/themes/slashcode/misc/spamarmors
    sbin/ - empty
    slashcode.local.conf Apache virtualhost file for apache config.
      Interesting things:
        The entire main htdocs folder has ExecCGI enabled.
            DocumentRoot /usr/local/slash/site/slashcode.local/htdocs
            ServerName slashcode.local
            SlashVirtualUser slashcode
            # Fourth Apache phase:  access control
            PerlAccessHandler  Slash::Apache::Banlist
            PerlAccessHandler  Slash::Apache::User
            DirectoryIndex index.pl index.shtml
            ErrorDocument 404 /404.pl
            # change default of "iso-8859-1" here (to, for example, utf-8)
            # if you change "content_type_webpage" in vars, and vice versa
            AddType text/html;charset=iso-8859-1 .shtml
            # AddHandler server-parsed .shtml
            AddType text/html .inc
            AddHandler server-parsed .inc

    tasks/
      adminmail.pl
      clean_blobs.pl
      daily.pl
      daily_archive.pl
      daily_forget.pl
      delete_accesslog.pl
      expire.pl
      flush_formkeys.pl
      freshenup.pl
      journal_fix.pl
      message_delete.pl
      message_delivery.pl
      new_headfoot.pl
      new_motd.pl
      open_backend.pl
      p2f_cheesy.pl
      p2f_hof_topics.pl
      performance_stats.pl
      precache_gse.pl
      refresh_authors_cache.pl
      refresh_uncommon.pl
      rss_submit.pl
      run_moderatord.pl
      run_portald.pl
      set_gse_min_stoid.pl
      set_recent_topics.pl
      spamarmor.pl
      stats_graphs_delete.pl
      topic_popup_static.pl
      topic_tree_draw.pl
slash.sites
  slashcode:nobody:slashcode.local
sql
  mysql
    defaults.sql - see this page [[SqlDefaults]]
    schema.sql -see this page   [[SqlSchema]]
tagboxes
themes