From Round Owl, 9 Months ago, written in Plain Text.
  1. drwxr-xr-x 2 orca orca  6 Oct 25 17:42 Iwantthefiletogohere
  2. drwxr-xr-x 2 orca orca 37 Oct 25 17:43 Thefiletobemovedishere
  3. [orca@orcacomputers Downloads]$ ln -s /home/orca/Downloads/Thefiletobemovedishere/sixfigureseminarmap.pdf /home/orca/Downloads/Iwantthefiletogohere
  4. [orca@orcacomputers Downloads]$ ln -s /mnt/raid5/Downloads/* /home/orca/
  5. ln: failed to create symbolic link ‘/home/orca/brscan4-0.4.9-1.x86_64.rpm’: File exists
  6. ln: failed to create symbolic link ‘/home/orca/Downloads’: File exists
  7. ln: failed to create symbolic link ‘/home/orca/smime.crt’: File exists
  8. ln: failed to create symbolic link ‘/home/orca/smime.p12’: File exists
  9. [orca@orcacomputers Downloads]$ ln -s /mnt/raid5/Downloads/* /home/orca/Downloads
  10. [orca@orcacomputers Downloads]$ ln -s /mnt/raid5/Pictures/* /home/orca/Pictures
  11. [orca@orcacomputers Downloads]$ ln -s /mnt/raid5/Videos/* /home/orca/Videos
  12. [orca@orcacomputers Downloads]$ cd /var/
  13. [orca@orcacomputers var]$ ll
  14. total 96
  15. drwxr-xr-x.   2 root    root      19 Oct  4  2019 account
  16. drwxr-xr-x.   2 root    root       6 Apr 10  2018 adm
  17. drwxr-xr-x.  16 root    root     199 Jul  7 09:22 cache
  18. drwxr-xr-x.   2 root    root       6 Apr  2  2020 crash
  19. drwxr-xr-x.   3 root    root      34 Aug 10 20:22 db
  20. drwxr-sr-t.   6 roboweb apache    67 Oct  9  2019 dnscache
  21. drwxr-xr-x.   3 root    root      18 Oct  4  2019 empty
  22. drwxr-xr-x.   4 root    root      51 Sep 30 21:43 ftp
  23. drwxr-xr-x.   2 root    root       6 Apr 10  2018 games
  24. drwxr-xr-x.   2 root    root       6 Apr 10  2018 gopher
  25. drwxr-xr-x.   3 root    root      18 Mar 31  2020 kerberos
  26. drwxr-xr-x.  71 root    root    4096 Oct  3 14:10 lib
  27. drwxr-xr-x.   2 root    root       6 Apr 10  2018 local
  28. lrwxrwxrwx.   1 root    root      11 Oct  4  2019 lock -> ../run/lock
  29. drwxr-xr-x.  47 root    root    4096 Oct 25 08:51 log
  30. lrwxrwxrwx.   1 root    root      10 Oct  4  2019 mail -> spool/mail
  31. drwxr-xr-x.   2 root    root       6 Apr 10  2018 nis
  32. drwxr-xr-x.   3 root    root      16 Aug 12 11:55 opt
  33. drwxr-xr-x.   2 root    root       6 Apr 10  2018 preserve
  34. drwxr-xr-x   17 orca    orca    4096 Dec 18  2019 Python-3.8.1
  35. drwxr-xr-x.  12 root    qmail    131 Oct  9  2019 qmail
  36. lrwxrwxrwx.   1 root    root       6 Oct  4  2019 run -> ../run
  37. drwxr-xr-x   17 root    root     259 Oct  3 15:46 snap
  38. drwxr-xr-x.  14 root    root     172 Apr 30 10:30 spool
  39. drwxr-sr-t.   6 roboweb apache    55 Oct  9  2019 tinydns
  40. drwxrwxrwt. 668 root    root   61440 Oct 25 18:34 tmp
  41. drwxr-xr-x   27 root    root    4096 Oct 25 02:28 www
  42. drwxr-xr-x.   2 root    root       6 Apr 10  2018 yp
  43. [orca@orcacomputers var]$ pwd
  44. /var
  45. [orca@orcacomputers var]$ cp /var/www/* /home/www
  46. cp: target ‘/home/www’ is not a directory
  47. [orca@orcacomputers var]$ cp /var/www/* /home
  48. cp: omitting directory ‘/var/www/0rcan0mic.com’
  49. cp: omitting directory ‘/var/www/cgi-bin’
  50. cp: omitting directory ‘/var/www/constantcounselling.com’
  51. cp: omitting directory ‘/var/www/couponfreegiveaway.com’
  52. cp: omitting directory ‘/var/www/freeonlinemoney.net’
  53. cp: omitting directory ‘/var/www/greatresultsbusinesscoaching.com’
  54. cp: omitting directory ‘/var/www/hopetonmedia.com’
  55. cp: omitting directory ‘/var/www/html’
  56. cp: omitting directory ‘/var/www/internetpowerhouse.org’
  57. cp: omitting directory ‘/var/www/jessemacdougall.com’
  58. cp: omitting directory ‘/var/www/jessemacdougall.ninja’
  59. cp: omitting directory ‘/var/www/macdougall.ninja’
  60. cp: omitting directory ‘/var/www/martial-arts-of-health.com’
  61. cp: omitting directory ‘/var/www/mybestfriendsarecats.com’
  62. cp: omitting directory ‘/var/www/orcaaccounting.com’
  63. cp: omitting directory ‘/var/www/orcacomputers.com’
  64. cp: omitting directory ‘/var/www/orcahelpdesk.com’
  65. cp: omitting directory ‘/var/www/orcainbox.com’
  66. cp: omitting directory ‘/var/www/orcamartialarts.com’
  67. cp: omitting directory ‘/var/www/orcanutrition.com’
  68. cp: omitting directory ‘/var/www/realtimerevenuetracker.com’
  69. cp: omitting directory ‘/var/www/themartialartsofmoney.com’
  70. cp: omitting directory ‘/var/www/thepowerhousemethod.org’
  71. cp: omitting directory ‘/var/www/thesuperioreatingsystem.com’
  72. cp: omitting directory ‘/var/www/womenwhohelpmen.org’
  73. cp: omitting directory ‘/var/www/xry’
  74. [orca@orcacomputers var]$ cp -r /var/www/* /home
  75. cp: cannot create directory ‘/home/0rcan0mic.com’: Permission denied
  76. cp: cannot create directory ‘/home/cgi-bin’: Permission denied
  77. cp: cannot create directory ‘/home/constantcounselling.com’: Permission denied
  78. cp: cannot create directory ‘/home/couponfreegiveaway.com’: Permission denied
  79. cp: cannot create directory ‘/home/freeonlinemoney.net’: Permission denied
  80. cp: cannot create directory ‘/home/greatresultsbusinesscoaching.com’: Permission denied
  81. cp: cannot create directory ‘/home/hopetonmedia.com’: Permission denied
  82. cp: cannot create directory ‘/home/html’: Permission denied
  83. cp: cannot create directory ‘/home/internetpowerhouse.org’: Permission denied
  84. cp: cannot create directory ‘/home/jessemacdougall.com’: Permission denied
  85. cp: cannot create directory ‘/home/jessemacdougall.ninja’: Permission denied
  86. cp: cannot create directory ‘/home/macdougall.ninja’: Permission denied
  87. cp: cannot create directory ‘/home/martial-arts-of-health.com’: Permission denied
  88. cp: cannot create directory ‘/home/mybestfriendsarecats.com’: Permission denied
  89. cp: cannot create directory ‘/home/orcaaccounting.com’: Permission denied
  90. cp: cannot create directory ‘/home/orcacomputers.com’: Permission denied
  91. cp: cannot create directory ‘/home/orcahelpdesk.com’: Permission denied
  92. cp: cannot create directory ‘/home/orcainbox.com’: Permission denied
  93. cp: cannot create directory ‘/home/orcamartialarts.com’: Permission denied
  94. cp: cannot create directory ‘/home/orcanutrition.com’: Permission denied
  95. cp: cannot create directory ‘/home/realtimerevenuetracker.com’: Permission denied
  96. cp: cannot create directory ‘/home/themartialartsofmoney.com’: Permission denied
  97. cp: cannot create directory ‘/home/thepowerhousemethod.org’: Permission denied
  98. cp: cannot create directory ‘/home/thesuperioreatingsystem.com’: Permission denied
  99. cp: cannot create directory ‘/home/womenwhohelpmen.org’: Permission denied
  100. cp: cannot create symbolic link ‘/home/xry’: Permission denied
  101. [orca@orcacomputers var]$ sudo cp -r /var/www/* /home
  102. [sudo] password for orca:
  103. [orca@orcacomputers var]$ su
  104. Password:
  105. [root@orcacomputers var]# cp -r /var/www/* /home/www
  106. cp: target ‘/home/www’ is not a directory
  107. [root@orcacomputers var]# cp -r /var/www/* /home/www
  108. cp: target ‘/home/www’ is not a directory
  109. [root@orcacomputers var]# cp -r /var/www/* /home/orca/www
  110. cp: target ‘/home/orca/www’ is not a directory
  111. [root@orcacomputers var]# cp -r /var/www/* /home/orca/
  112. [root@orcacomputers var]# cp -r /var/www/* /home/orca/www/
  113. cp: target ‘/home/orca/www/’ is not a directory
  114. [root@orcacomputers var]# cp -r /var/www/* /home/orca/www/
  115. [root@orcacomputers var]# ln -s /home/orca/www/* /var/
  116. [root@orcacomputers var]# systemctl restart httpd
  117. Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
  118. [root@orcacomputers var]# journalctl -xe
  119. Oct 25 18:56:30 orcacomputers.orcainbox usermod[7353]: change user 'ravishshankar' password
  120. Oct 25 18:56:30 orcacomputers.orcainbox httpd[5514]: DIGEST-MD5 common mech free
  121. Oct 25 18:56:31 orcacomputers.orcainbox gnome-shell[3610]: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
  122. Oct 25 18:56:31 orcacomputers.orcainbox gnome-shell[3610]: clutter_actor_show: assertion 'CLUTTER_IS_ACTOR (self)' failed
  123. Oct 25 18:56:31 orcacomputers.orcainbox gnome-shell[3610]: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
  124. Oct 25 18:56:31 orcacomputers.orcainbox gnome-shell[3610]: clutter_actor_show: assertion 'CLUTTER_IS_ACTOR (self)' failed
  125. Oct 25 18:56:31 orcacomputers.orcainbox gnome-shell[3610]: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
  126. Oct 25 18:56:31 orcacomputers.orcainbox gnome-shell[3610]: clutter_actor_show: assertion 'CLUTTER_IS_ACTOR (self)' failed
  127. Oct 25 18:56:31 orcacomputers.orcainbox gnome-shell[3610]: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed
  128. Oct 25 18:56:31 orcacomputers.orcainbox gnome-shell[3610]: clutter_actor_show: assertion 'CLUTTER_IS_ACTOR (self)' failed
  129. Oct 25 18:56:36 orcacomputers.orcainbox polkitd[1219]: Registered Authentication Agent for unix-process:7363:9081715 (system bus name :1.2530 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/free
  130. Oct 25 18:56:36 orcacomputers.orcainbox systemd[1]: Stopping The Apache HTTP Server...
  131. -- Subject: Unit httpd.service has begun shutting down
  132. -- Defined-By: systemd
  133. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  134. --
  135. -- Unit httpd.service has begun shutting down.
  136. Oct 25 18:56:36 orcacomputers.orcainbox httpd[17433]: DIGEST-MD5 common mech free
  137. Oct 25 18:56:36 orcacomputers.orcainbox httpd[7344]: DIGEST-MD5 common mech free
  138. Oct 25 18:56:36 orcacomputers.orcainbox httpd[1971]: DIGEST-MD5 common mech free
  139. Oct 25 18:56:36 orcacomputers.orcainbox httpd[1977]: DIGEST-MD5 common mech free
  140. Oct 25 18:56:36 orcacomputers.orcainbox httpd[7347]: DIGEST-MD5 common mech free
  141. Oct 25 18:56:36 orcacomputers.orcainbox httpd[1976]: DIGEST-MD5 common mech free
  142. Oct 25 18:56:36 orcacomputers.orcainbox httpd[7346]: DIGEST-MD5 common mech free
  143. Oct 25 18:56:36 orcacomputers.orcainbox httpd[1982]: DIGEST-MD5 common mech free
  144. Oct 25 18:56:36 orcacomputers.orcainbox httpd[1974]: DIGEST-MD5 common mech free
  145. Oct 25 18:56:36 orcacomputers.orcainbox httpd[1970]: DIGEST-MD5 common mech free
  146. Oct 25 18:56:43 orcacomputers.orcainbox httpd[1975]: DIGEST-MD5 common mech free
  147. Oct 25 18:56:44 orcacomputers.orcainbox httpd[24406]: DIGEST-MD5 common mech free
  148. Oct 25 18:56:44 orcacomputers.orcainbox systemd[1]: Stopped The Apache HTTP Server.
  149. -- Subject: Unit httpd.service has finished shutting down
  150. -- Defined-By: systemd
  151. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  152. --
  153. -- Unit httpd.service has finished shutting down.
  154. Oct 25 18:56:44 orcacomputers.orcainbox systemd[1]: Starting The Apache HTTP Server...
  155. -- Subject: Unit httpd.service has begun start-up
  156. -- Defined-By: systemd
  157. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  158. --
  159. -- Unit httpd.service has begun starting up.
  160. Oct 25 18:56:44 orcacomputers.orcainbox httpd[7409]: AH00526: Syntax error on line 119 of /etc/httpd/conf/httpd.conf:
  161. Oct 25 18:56:44 orcacomputers.orcainbox httpd[7409]: DocumentRoot '/var/www/' is not a directory, or is not readable
  162. Oct 25 18:56:44 orcacomputers.orcainbox systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
  163. Oct 25 18:56:44 orcacomputers.orcainbox systemd[1]: Failed to start The Apache HTTP Server.
  164. -- Subject: Unit httpd.service has failed
  165. -- Defined-By: systemd
  166. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  167. --
  168. -- Unit httpd.service has failed.
  169. --
  170. -- The result is failed.
  171. Oct 25 18:56:44 orcacomputers.orcainbox systemd[1]: Unit httpd.service entered failed state.
  172. Oct 25 18:56:44 orcacomputers.orcainbox systemd[1]: httpd.service failed.
  173. Oct 25 18:56:44 orcacomputers.orcainbox polkitd[1219]: Unregistered Authentication Agent for unix-process:7363:9081715 (system bus name :1.2530, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, local
  174. [root@orcacomputers var]# cat /etc/httpd/conf/httpd.conf
  175. #
  176. # This is the main Apache HTTP server configuration file.  It contains the
  177. # configuration directives that give the server its instructions.
  178. # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
  179. # In particular, see
  180. # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
  181. # for a discussion of each configuration directive.
  182. #
  183. # Do NOT simply read the instructions in here without understanding
  184. # what they do.  They're here only as hints or reminders.  If you are unsure
  185. # consult the online docs. You have been warned.  
  186. #
  187. # Configuration and logfile names: If the filenames you specify for many
  188. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  189. # server will use that explicit path.  If the filenames do *not* begin
  190. # with "/", the value of ServerRoot is prepended -- so 'log/access_log'
  191. # with ServerRoot set to '/www' will be interpreted by the
  192. # server as '/www/log/access_log', where as '/log/access_log' will be
  193. # interpreted as '/log/access_log'.
  194.  
  195. #
  196. # ServerRoot: The top of the directory tree under which the server's
  197. # configuration, error, and log files are kept.
  198. #
  199. # Do not add a slash at the end of the directory path.  If you point
  200. # ServerRoot at a non-local disk, be sure to specify a local disk on the
  201. # Mutex directive, if file-based mutexes are used.  If you wish to share the
  202. # same ServerRoot for multiple httpd daemons, you will need to change at
  203. # least PidFile.
  204. #
  205. ServerRoot "/etc/httpd"
  206.  
  207. #
  208. # Listen: Allows you to bind Apache to specific IP addresses and/or
  209. # ports, instead of the default. See also the <VirtualHost>
  210. # directive.
  211. #
  212. # Change this to Listen on specific IP addresses as shown below to
  213. # prevent Apache from glomming onto all bound IP addresses.
  214. #
  215. #Listen 12.34.56.78:80
  216. Listen 80
  217.  
  218. #
  219. # Dynamic Shared Object (DSO) Support
  220. #
  221. # To be able to use the functionality of a module which was built as a DSO you
  222. # have to place corresponding `LoadModule' lines at this location so the
  223. # directives contained in it are actually available _before_ they are used.
  224. # Statically compiled modules (those listed by `httpd -l') do not need
  225. # to be loaded here.
  226. #
  227. # Example:
  228. # LoadModule foo_module modules/mod_foo.so
  229. #
  230. Include conf.modules.d/*.conf
  231.  
  232. #
  233. # If you wish httpd to run as a different user or group, you must run
  234. # httpd as root initially and it will switch.  
  235. #
  236. # User/Group: The name (or #number) of the user/group to run httpd as.
  237. # It is usually good practice to create a dedicated user and group for
  238. # running httpd, as with most system services.
  239. #
  240. User apache
  241. Group apache
  242.  
  243. # 'Main' server configuration
  244. #
  245. # The directives in this section set up the values used by the 'main'
  246. # server, which responds to any requests that aren't handled by a
  247. # <VirtualHost> definition.  These values also provide defaults for
  248. # any <VirtualHost> containers you may define later in the file.
  249. #
  250. # All of these directives may appear inside <VirtualHost> containers,
  251. # in which case these default settings will be overridden for the
  252. # virtual host being defined.
  253. #
  254.  
  255. #
  256. # ServerAdmin: Your address, where problems with the server should be
  257. # e-mailed.  This address appears on some server-generated pages, such
  258. # as error documents.  e.g. admin@your-domain.com
  259. #
  260. ServerAdmin root@localhost
  261.  
  262. #
  263. # ServerName gives the name and port that the server uses to identify itself.
  264. # This can often be determined automatically, but we recommend you specify
  265. # it explicitly to prevent problems during startup.
  266. #
  267. # If your host doesn't have a registered DNS name, enter its IP address here.
  268. #
  269. #ServerName www.example.com:80
  270.  
  271. #
  272. # Deny access to the entirety of your server's filesystem. You must
  273. # explicitly permit access to web content directories in other
  274. # <Directory> blocks below.
  275. #
  276. <Directory />
  277.     AllowOverride none
  278.     Require all denied
  279. </Directory>
  280.  
  281. #
  282. # Note that from this point forward you must specifically allow
  283. # particular features to be enabled - so if something's not working as
  284. # you might expect, make sure that you have specifically enabled it
  285. # below.
  286. #
  287.  
  288. #
  289. # DocumentRoot: The directory out of which you will serve your
  290. # documents. By default, all requests are taken from this directory, but
  291. # symbolic links and aliases may be used to point to other locations.
  292. #
  293. DocumentRoot "/var/www/"
  294.  
  295. #
  296. # Relax access to content within /var/www.
  297. #
  298. <Directory "/var/www">
  299.     AllowOverride None
  300.     # Allow open access:
  301.     Require all granted
  302. </Directory>
  303.  
  304. # Further relax access to the default document root:
  305. <Directory "/var/www/html">
  306.     #
  307.     # Possible values for the Options directive are "None", "All",
  308.     # or any combination of:
  309.     #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  310.     #
  311.     # Note that "MultiViews" must be named *explicitly* --- "Options All"
  312.     # doesn't give it to you.
  313.     #
  314.     # The Options directive is both complicated and important.  Please see
  315.     # http://httpd.apache.org/docs/2.4/mod/core.html#options
  316.     # for more information.
  317.     #
  318.     Options Indexes FollowSymLinks
  319.  
  320.     #
  321.     # AllowOverride controls what directives may be placed in .htaccess files.
  322.     # It can be "All", "None", or any combination of the keywords:
  323.     #   Options FileInfo AuthConfig Limit
  324.     #
  325.     AllowOverride None
  326.  
  327.     #
  328.     # Controls who can get stuff from this server.
  329.     #
  330.     Require all granted
  331. </Directory>
  332.  
  333. #
  334. # DirectoryIndex: sets the file that Apache will serve if a directory
  335. # is requested.
  336. #
  337. <IfModule dir_module>
  338.     DirectoryIndex index.html
  339. </IfModule>
  340.  
  341. #
  342. # The following lines prevent .htaccess and .htpasswd files from being
  343. # viewed by Web clients.
  344. #
  345. <Files ".ht*">
  346.     Require all denied
  347. </Files>
  348.  
  349. #
  350. # ErrorLog: The location of the error log file.
  351. # If you do not specify an ErrorLog directive within a <VirtualHost>
  352. # container, error messages relating to that virtual host will be
  353. # logged here.  If you *do* define an error logfile for a <VirtualHost>
  354. # container, that host's errors will be logged there and not here.
  355. #
  356. ErrorLog "logs/error_log"
  357.  
  358. #
  359. # LogLevel: Control the number of messages logged to the error_log.
  360. # Possible values include: debug, info, notice, warn, error, crit,
  361. # alert, emerg.
  362. #
  363. LogLevel debug
  364.  
  365. <IfModule log_config_module>
  366.     #
  367.     # The following directives define some format nicknames for use with
  368.     # a CustomLog directive (see below).
  369.     #
  370.     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  371.     LogFormat "%h %l %u %t \"%r\" %>s %b" common
  372.  
  373.     <IfModule logio_module>
  374.       # You need to enable mod_logio.c to use %I and %O
  375.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  376.     </IfModule>
  377.  
  378.     #
  379.     # The location and format of the access logfile (Common Logfile Format).
  380.     # If you do not define any access logfiles within a <VirtualHost>
  381.     # container, they will be logged here.  Contrariwise, if you *do*
  382.     # define per-<VirtualHost> access logfiles, transactions will be
  383.     # logged therein and *not* in this file.
  384.     #
  385.     #CustomLog "logs/access_log" common
  386.  
  387.     #
  388.     # If you prefer a logfile with access, agent, and referer information
  389.     # (Combined Logfile Format) you can use the following directive.
  390.     #
  391.     CustomLog "logs/access_log" combined
  392. </IfModule>
  393.  
  394. <IfModule alias_module>
  395.     #
  396.     # Redirect: Allows you to tell clients about documents that used to
  397.     # exist in your server's namespace, but do not anymore. The client
  398.     # will make a new request for the document at its new location.
  399.     # Example:
  400.     # Redirect permanent /foo http://www.example.com/bar
  401.  
  402.     #
  403.     # Alias: Maps web paths into filesystem paths and is used to
  404.     # access content that does not live under the DocumentRoot.
  405.     # Example:
  406.     # Alias /webpath /full/filesystem/path
  407.     #
  408.     # If you include a trailing / on /webpath then the server will
  409.     # require it to be present in the URL.  You will also likely
  410.     # need to provide a <Directory> section to allow access to
  411.     # the filesystem path.
  412.  
  413.     #
  414.     # ScriptAlias: This controls which directories contain server scripts.
  415.     # ScriptAliases are essentially the same as Aliases, except that
  416.     # documents in the target directory are treated as applications and
  417.     # run by the server when requested rather than as documents sent to the
  418.     # client.  The same rules about trailing "/" apply to ScriptAlias
  419.     # directives as to Alias.
  420.     #
  421.     ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
  422.  
  423. </IfModule>
  424.  
  425. #
  426. # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
  427. # CGI directory exists, if you have that configured.
  428. #
  429. <Directory "/var/www/cgi-bin">
  430.     AllowOverride None
  431.     Options None
  432.     Require all granted
  433. </Directory>
  434.  
  435. <IfModule mime_module>
  436.     #
  437.     # TypesConfig points to the file containing the list of mappings from
  438.     # filename extension to MIME-type.
  439.     #
  440.     TypesConfig /etc/mime.types
  441.  
  442.     #
  443.     # AddType allows you to add to or override the MIME configuration
  444.     # file specified in TypesConfig for specific file types.
  445.     #
  446.     #AddType application/x-gzip .tgz
  447.     #
  448.     # AddEncoding allows you to have certain browsers uncompress
  449.     # information on the fly. Note: Not all browsers support this.
  450.     #
  451.     #AddEncoding x-compress .Z
  452.     #AddEncoding x-gzip .gz .tgz
  453.     #
  454.     # If the AddEncoding directives above are commented-out, then you
  455.     # probably should define those extensions to indicate media types:
  456.     #
  457.     AddType application/x-compress .Z
  458.     AddType application/x-gzip .gz .tgz
  459.  
  460.     #
  461.     # AddHandler allows you to map certain file extensions to "handlers":
  462.     # actions unrelated to filetype. These can be either built into the server
  463.     # or added with the Action directive (see below)
  464.     #
  465.     # To use CGI scripts outside of ScriptAliased directories:
  466.     # (You will also need to add "ExecCGI" to the "Options" directive.)
  467.     #
  468.     #AddHandler cgi-script .cgi
  469.  
  470.     # For type maps (negotiated resources):
  471.     #AddHandler type-map var
  472.  
  473.     #
  474.     # Filters allow you to process content before it is sent to the client.
  475.     #
  476.     # To parse .shtml files for server-side includes (SSI):
  477.     # (You will also need to add "Includes" to the "Options" directive.)
  478.     #
  479.     AddType text/html .shtml
  480.     AddOutputFilter INCLUDES .shtml
  481. </IfModule>
  482.  
  483. #
  484. # Specify a default charset for all content served; this enables
  485. # interpretation of all content as UTF-8 by default.  To use the
  486. # default browser choice (ISO-8859-1), or to allow the META tags
  487. # in HTML content to override this choice, comment out this
  488. # directive:
  489. #
  490. AddDefaultCharset UTF-8
  491.  
  492. <IfModule mime_magic_module>
  493.     #
  494.     # The mod_mime_magic module allows the server to use various hints from the
  495.     # contents of the file itself to determine its type.  The MIMEMagicFile
  496.     # directive tells the module where the hint definitions are located.
  497.     #
  498.     MIMEMagicFile conf/magic
  499. </IfModule>
  500.  
  501. #
  502. # Customizable error responses come in three flavors:
  503. # 1) plain text 2) local redirects 3) external redirects
  504. #
  505. # Some examples:
  506. #ErrorDocument 500 "The server made a boo boo."
  507. #ErrorDocument 404 /missing.html
  508. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  509. #ErrorDocument 402 http://www.example.com/subscription_info.html
  510. #
  511.  
  512. #
  513. # EnableMMAP and EnableSendfile: On systems that support it,
  514. # memory-mapping or the sendfile syscall may be used to deliver
  515. # files.  This usually improves server performance, but must
  516. # be turned off when serving from networked-mounted
  517. # filesystems or if support for these functions is otherwise
  518. # broken on your system.
  519. # Defaults if commented: EnableMMAP On, EnableSendfile Off
  520. #
  521. #EnableMMAP off
  522. EnableSendfile on
  523.  
  524. # Supplemental configuration
  525. #
  526. # Load config files in the "/etc/httpd/conf.d" directory, if any.
  527. IncludeOptional conf.d/*.conf
  528. [root@orcacomputers var]# vim /etc/httpd/conf/httpd.conf
  529. [root@orcacomputers var]#
  530.  
captcha