Changeset 24900 in main


Ignore:
Timestamp:
03/29/22 18:29:06 (4 months ago)
Author:
Paul Leo
Message:

Updating Apache httpd conf files for WordPress?/IBIS prod after deciding not to use SSL for this round

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adopters/hi/trunk/src/main/apache_httpd_configs/wordpress_ibis/prod/httpd.conf

    r24886 r24900  
    172172#LoadModule socache_memcache_module modules/mod_socache_memcache.so
    173173#LoadModule socache_redis_module modules/mod_socache_redis.so
    174 #LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
     174######LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    175175#LoadModule speling_module modules/mod_speling.so
    176 #LoadModule ssl_module modules/mod_ssl.so
     176#####LoadModule ssl_module modules/mod_ssl.so
    177177#LoadModule status_module modules/mod_status.so
    178178#LoadModule substitute_module modules/mod_substitute.so
     
    228228#
    229229#ServerName www.example.com:80
    230 ServerName 10.0.0.108
     230#ServerName test.hhdw.org
     231ServerName 10.0.1.108
    231232
    232233#
     
    320321# container, that host's errors will be logged there and not here.
    321322#
    322 ErrorLog "logs/error.log"
     323###ErrorLog "logs/error.log"
     324
     325# For use of rotatelogs, see https://httpd.apache.org/docs/2.4/programs/rotatelogs.html
     326# am using rotate every day and keep 7 days, could keep more.
     327# you could also rotate at midnight and create a log with date, but keeping only x logs will not work with that
     328### NOTE: -c not permitted in windows, may be other options also not permitted, see explanation in next section log_conf_module
     329# -v is verbose output for debugging, BUT...
     330# try first with access, if you try with Errorlog, and you have something wrong, no log will be produced.
     331# note daily is 86400, testing is 60 (every minute)
     332# Next line is for testing log rotation every 20 seconds, keep 7 files, verbose output
     333# ErrorLog "|bin/rotatelogs.exe -l -v -n 7 logs/error.log 20"
     334# Next line is for production, rotate every day, keep 14 logs
     335ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/error.log 86400"
    323336
    324337#
     
    327340# alert, emerg.
    328341#
    329 LogLevel warn
     342####LogLevel debug ssl:trace8 proxy:trace8
     343
     344LogLevel debug
     345
    330346
    331347<IfModule log_config_module>
     
    349365    # logged therein and *not* in this file.
    350366    #
    351     CustomLog "logs/access.log" common
     367    ####CustomLog "logs/access.log" common
    352368
    353369    #
     
    355371    # (Combined Logfile Format) you can use the following directive.
    356372    #
    357     #CustomLog "logs/access.log" combined
     373    ####CustomLog "logs/access.log" combined
     374       
     375# For use of rotatelogs, see https://httpd.apache.org/docs/2.4/programs/rotatelogs.html
     376# am using rotate every day and keep 7 days, could keep more.
     377# you could also rotate at midnight and create a log with date, but keeping only x logs will not work with that
     378### NOTE: -c not permitted in windows, may be other options also not permitted, see explanation in next section log_conf_module
     379# -v is verbose output for debugging, BUT...
     380# try first with access, if you try with Errorlog, and you have something wrong, no log will be produced.
     381# note daily is 86400, testing is 60 (every minute)
     382# Next line is for testing log rotation every 20 seconds, keep 7 files, verbose output 
     383       
     384        CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/access.log 86400" common
     385                       
     386                       
     387       
    358388</IfModule>
    359389
     
    545575
    546576# Secure (SSL/TLS) connections
    547 #Include conf/extra/httpd-ssl.conf
     577######Include conf/extra/httpd-ssl.conf
    548578#
    549579# Note: The following must must be present to support
     
    556586</IfModule>
    557587
    558 #LogLevel warn proxy:debug
    559 LogLevel info
    560 
    561588
    562589############### IBIS Proxy, located webapps/report #####################
     590
    563591
    564592#Next line is more for forward, but it doesnot affect reverse
     
    569597ProxyPassReverse  "/report/" "http://127.0.0.1:8080/report/"
    570598###ProxyPassReverseCookiePath "/hhdw-view" "/report"
     599
     600
Note: See TracChangeset for help on using the changeset viewer.