FileLocations2: Difference between revisions
No edit summary |
m (added Category:Development using HotCat) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
<h2>/usr/local/slash</h2> | <h2>/usr/local/slash</h2> | ||
For descriptions of the helper programs in bin see [[SlashHelperProgramsInBin]] | |||
<pre> | <pre> | ||
Line 140: | Line 142: | ||
</pre> | </pre> | ||
<span style="color:green;"> | <span style="color:green;"> | ||
htdocs here under your site name is actually where the webserver looks for files. Your own specific site will be under your sitename (here, slashcode.local). But this is mostly just soft links to stuff inside the themes and plugins you are using. | |||
The following real files ae found here,most or all written by the database periodically: | The following real files ae found here,most or all written by the database periodically: | ||
<br>00 | <br>00 | ||
Line 408: | Line 410: | ||
</pre> | </pre> | ||
[[Category:Development]] |
Latest revision as of 15:38, 15 March 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
For descriptions of the helper programs in bin see SlashHelperProgramsInBin
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
htdocs here under your site name is actually where the webserver looks for files. Your own specific site will be under your sitename (here, slashcode.local). But this is mostly just soft links to stuff inside the themes and plugins you are using.
The following real files ae found here,most or all written by the database periodically:
00
admin-topic-popup.css
admin-topic-popup.js
articles
authors.shtml
features
hof.shtml
images
index.atom
index.rdf
index.rss
index.shtml
index.xml
mainpage
opensource
slashcssbase.inc
slashfoot.inc - all .inc files here are written by database periodically.
slashfoot-messages.inc
slashfoot-print.inc
slashhead-gen-full.inc - identical to slashhead.inc except has 'div id="misc' in it
slashhead.inc
slashhead-print.inc
slashsite.atom
slashsite.rdf
slashsite.rss
slashsite.xml
topics.shtml
slashcode.local/ backups/ - empty htdocs/ 404.pl -> /usr/local/slash/themes/slashcode/htdocs/404.pl about.shtml -> /usr/local/slash/themes/slashcode/htdocs/about.shtml admin-topic-popup.css admin-topic-popup.js admin.css -> /usr/local/slash/themes/slashcode/htdocs/admin.css admin.pl -> /usr/local/slash/plugins/Admin/admin.pl article.pl -> /usr/local/slash/themes/slashcode/htdocs/article.pl authors.pl -> /usr/local/slash/themes/slashcode/htdocs/authors.pl authors.shtml base.css -> /usr/local/slash/themes/slashcode/htdocs/base.css blob.pl -> /usr/local/slash/plugins/Blob/blob.pl cheesyportal.pl -> /usr/local/slash/plugins/CheesyPortal/cheesyportal.pl cheesyportal.shtml comments.css -> /usr/local/slash/themes/slashcode/htdocs/comments.css comments.pl -> /usr/local/slash/themes/slashcode/htdocs/comments.pl faq.shtml -> /usr/local/slash/plugins/FAQ/faq.shtml fileadmin.pl -> /usr/local/slash/plugins/Blob/fileadmin.pl handheld.css -> /usr/local/slash/themes/slashcode/htdocs/handheld.css help.pl -> /usr/local/slash/themes/slashcode/htdocs/help.pl hof.pl -> /usr/local/slash/plugins/Hof/hof.pl hof.shtml images index.pl -> /usr/local/slash/themes/slashcode/htdocs/index.pl journal.pl -> /usr/local/slash/plugins/Journal/journal.pl messages.pl -> /usr/local/slash/plugins/Messages/messages.pl metamod.pl -> /usr/local/slash/themes/slashcode/htdocs/metamod.pl moderation.shtml -> /usr/local/slash/themes/slashcode/htdocs/moderation.shtml ostgnavbar.css -> /usr/local/slash/themes/slashcode.com/htdocs/ostgnavbar.css pollBooth.pl -> /usr/local/slash/plugins/PollBooth/pollBooth.pl polls.css -> /usr/local/slash/plugins/PollBooth/polls.css print.css -> /usr/local/slash/themes/slashcode/htdocs/print.css pubkey.pl -> /usr/local/slash/plugins/PubKey/pubkey.pl search.css -> /usr/local/slash/plugins/Search/search.css search.pl -> /usr/local/slash/plugins/Search/search.pl sections.pl -> /usr/local/slash/plugins/Sections/sections.pl slashcode.css -> /usr/local/slash/themes/slashcode.com/htdocs/slashcode.css slashcode_lite.css -> /usr/local/slash/themes/slashcode/htdocs/slashcode_lite.css slashcode_low_bw.css -> /usr/local/slash/themes/slashcode/htdocs/slashcode_low_bw.css slashcssbase.inc slashfoot-messages.inc slashfoot.inc slashguide.shtml -> /usr/local/slash/themes/slashcode/htdocs/slashguide.shtml slashhead-article.inc slashhead-gen-full.inc slashhead.inc stats.pl -> /usr/local/slash/plugins/Stats/stats.pl submit.pl -> /usr/local/slash/plugins/Submit/submit.pl topics.pl -> /usr/local/slash/themes/slashcode/htdocs/topics.pl topics.shtml users.pl -> /usr/local/slash/themes/slashcode/htdocs/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 CommentScoreReason CommentScoreReason.pm (isInstalled,init,get_affected_type,get_clid, get_nosy_gtids,init_tagfilters,run_process ) # Requires TagModeration plugin (not (just) Moderation) Slash::Tagbox::CommentScoreReason - track comment score and reason Makefile.PL # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( 'NAME' => 'Slash::Tagbox::CommentScoreReason', 'PM' => { 'CommentScoreReason.pm' => '$(INST_LIBDIR)/CommentScoreReason.pm' }, ); TAGBOX name=CommentScoreReason description=Track comment score and reason mysql_dump=mysql_dump.sql requiresplugin=TagModeration mysql_dump.sql INSERT INTO vars... Despam Despam.pm Makefile.PL TAGBOX mysql_dump.sql DiscussionScore DiscussionScore.pm Makefile.PL TAGBOX mysql_dump.sql FHActivity FHActivity.pm Makefile.PL TAGBOX mysql_dump.sql FHBayesPredict FHBayesPredict.pm Makefile.PL TAGBOX mysql_dump.sql mysql_schema.sql FHEditorPop FHEditorPop.pm Makefile.PL TAGBOX mysql_dump.sql FHPopularity FHPopularity.pm Makefile.PL TAGBOX mysql_dump.sql FHTFH FHTFH.pm Makefile.PL TAGBOX mysql_dump.sql mysql_schema.sql FireHoseScores FireHoseScores.pm Makefile.PL TAGBOX mysql_dump.sql Metamod Makefile.PL Metamod.pm TAGBOX mysql_dump.sql mysql_schema.sql RecentTags Makefile.PL RecentTags.pm TAGBOX mysql_dump.sql TagCountUser Makefile.PL TAGBOX TagCountUser.pm mysql_dump.sql TagnameInterest Makefile.PL TAGBOX TagnameInterest.pm mysql_dump.sql TagnameProcess Makefile.PL TAGBOX TagnameProcess.pm mysql_dump.sql Top Makefile.PL TAGBOX Top.pm mysql_dump.sql TopSF Makefile.PL TAGBOX TopSF.pm mysql_dump.sql themes slashcode - main theme THEME htdocs misc sql tasks templates slashcode.com THEME conf datadump.sql htdocs templates useperl - this is a them for the useperl site, unused here. THEME conf datadump.sql htdocs sbin templates