Changeset 1464 in genapp


Ignore:
Timestamp:
Apr 16, 2018, 1:21:01 PM (4 years ago)
Author:
ehb
Message:

noindicies for centos 6, 7, redhat 7, scientific linux 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbin/install.pl

    r1461 r1464  
    415415");
    416416
     417    runcmdsb( "cat <<_EOF > $rhsclhttpd/etc/httpd/conf.d/noindices.conf
     418<Directory \"$rhsclhttpd/var/www/html\">
     419    Options FollowSymLinks
     420    AllowOverride None
     421    Require all granted
     422</Directory>
     423_EOF
     424");
     425
    417426    # scl puts php in $rhsclphp so link it
    418427
     
    510519}
    511520
    512 # ------ centos 7.2 -------
     521# ------ centos 7.2,7.3,7.4 -------
    513522if ( $os eq 'centos' && $os_release =~ /^7\.(2|3|4)/ ) {
    514523
     
    562571cat <<_EOF > $rhsclhttpd/etc/httpd/conf.d/genapp.conf
    563572SetEnv GENAPP $gb
     573_EOF
     574");
     575
     576    runcmdsb( "cat <<_EOF > $rhsclhttpd/etc/httpd/conf.d/noindices.conf
     577<Directory \"$rhsclhttpd/var/www/html\">
     578    Options FollowSymLinks
     579    AllowOverride None
     580    Require all granted
     581</Directory>
    564582_EOF
    565583");
     
    766784");
    767785
     786    runcmdsb( "cat <<_EOF > $rhsclhttpd/etc/httpd/conf.d/noindices.conf
     787<Directory \"$rhsclhttpd/var/www/html\">
     788    Options FollowSymLinks
     789    AllowOverride None
     790    Require all granted
     791</Directory>
     792_EOF
     793");
     794
    768795    # scl puts php in $rhsclphp so link it
    769796
     
    9891016
    9901017# ------ scientific linux 7.2 -------
    991 if ( $os eq 'scientific' && $os_release =~ /^7\.(2|3)(cernvm|)/ ) {
     1018if ( $os eq 'scientific' && $os_release =~ /^7\.(2|3|4)(cernvm|)/ ) {
    9921019
    9931020    my $cernvm;
     
    10781105");
    10791106
     1107    runcmdsb( "cat <<_EOF > $rhsclhttpd/etc/httpd/conf.d/noindices.conf
     1108<Directory \"$rhsclhttpd/var/www/html\">
     1109    Options FollowSymLinks
     1110    AllowOverride None
     1111    Require all granted
     1112</Directory>
     1113_EOF
     1114");
     1115
    10801116    # genapp html5 likes php at /usr/local/bin/php so make sure it exists
    10811117
Note: See TracChangeset for help on using the changeset viewer.