Changeset 151 for server/fedora


Ignore:
Timestamp:
Feb 5, 2007, 11:13:52 PM (18 years ago)
Author:
presbrey
Message:
subversionized virtual hosts
startup script creates user sessions folder
hosts file can only have fqdns
Location:
server/fedora/config/etc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • server/fedora/config/etc/hosts

    r39 r151  
    44::1             localhost.localdomain localhost
    55
    6 18.181.0.46     scripts scripts.mit.edu
    7 18.181.0.52     sql sql.mit.edu
     618.181.0.46     scripts.mit.edu
     718.181.0.52     sql.mit.edu
  • server/fedora/config/etc/httpd

    • Property svn:externals set to
  • server/fedora/config/etc/httpd/conf/httpd.conf

    r149 r151  
    4242LoadModule mime_module modules/mod_mime.so
    4343#LoadModule dav_module modules/mod_dav.so
    44 #LoadModule status_module modules/mod_status.so
     44LoadModule status_module modules/mod_status.so
    4545LoadModule autoindex_module modules/mod_autoindex.so
    4646#LoadModule info_module modules/mod_info.so
     
    130130
    131131HostnameLookups Off
    132 #ErrorLog "| sudo -u afsagent /usr/local/bin/process_logs"
    133132ErrorLog "/home/logview/error_log"
    134133LogLevel warn
     
    277276
    278277RLimitCPU 60 60
    279 #RLimitMEM 536870912 536870912
    280278RLimitMEM 268435456 268435456
    281279RLimitNPROC 1024 1024
     
    286284NameVirtualHost *:80
    287285NameVirtualHost *:443
     286NameVirtualHost 18.181.0.50:80
     287NameVirtualHost 18.181.0.50:443
    288288
    289289ServerName localhost
    290290DocumentRoot /afs/athena.mit.edu/contrib/scripts/www
     291
     292ExtendedStatus On
     293RewriteEngine Off
     294
     295<Location ~ "/(robots\.txt|favicon\.ico)">
     296        RewriteEngine On
     297        RewriteBase /~scripts
     298        RewriteCond %{REQUEST_FILENAME} !-f
     299        RewriteRule .*(favicon\.ico) $1 [L,NS]
     300        RewriteCond %{REQUEST_FILENAME} !-f
     301        RewriteRule .*(robots\.txt) $1 [L,NS]
     302</Location>
     303
     304Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat
     305Alias /src /afs/athena.mit.edu/contrib/scripts/src
     306Redirect /sql https://scripts.mit.edu/~sql
     307
     308<VirtualHost _default_:80>
     309        ServerName vhosts.mit.edu
     310        DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
     311</VirtualHost>
     312
     313<VirtualHost 18.181.0.50:80>
     314        ServerName scripts-cert.mit.edu
     315        ServerAlias scripts-cert
     316        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
     317        SuExecUserGroup scripts users
     318        UserDir web_scripts
     319        RewriteEngine Off
     320</VirtualHost>
     321
     322<VirtualHost *:80>
     323        ServerName scripts.mit.edu
     324        ServerAlias scripts scripts-test.mit.edu scripts-test
     325        DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
     326        SuExecUserGroup scripts users
     327        UserDir web_scripts
     328        RewriteEngine Off
     329</VirtualHost>
     330
     331<IfModule mod_ssl.c>
     332        SSLCertificateFile /etc/pki/tls/certs/cert-new.pem
     333        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
     334        SSLCACertificateFile /etc/pki/tls/certs/ca.pem
     335        SSLVerifyClient none
     336        SSLOptions +StdEnvVars
     337        SSLUserName SSL_CLIENT_S_DN_Email
     338        <VirtualHost 18.181.0.50:443>
     339                ServerName scripts-cert.mit.edu
     340                ServerAlias scripts-cert
     341                DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
     342                SuExecUserGroup scripts users
     343                UserDir web_scripts
     344                RewriteEngine Off
     345                SSLEngine on
     346                SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem
     347                SSLVerifyClient require
     348                SSLVerifyDepth 1
     349                SSLOptions +StdEnvVars
     350        </VirtualHost>
     351        <VirtualHost *:443>
     352                ServerName vhosts.mit.edu
     353                ServerAlias vhosts
     354                DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
     355                RewriteEngine Off
     356                SSLEngine on
     357        </VirtualHost>
     358        <VirtualHost *:443>
     359                ServerName scripts.mit.edu
     360                ServerAlias scripts scripts-test.mit.edu scripts-test
     361                DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home
     362                SuExecUserGroup scripts users
     363                UserDir web_scripts
     364                RewriteEngine Off
     365                SSLEngine on
     366        </VirtualHost>
     367</IfModule>
     368
     369Include vhosts.d/*.conf
     370
     371LoadModule fcgid_module modules/mod_fcgid.so
     372AddHandler fcgid-script fcgi
     373<Files *.fcgi>
     374        Options +ExecCGI
     375</Files>
     376SocketPath run/mod_fcgid
     377
    291378Include conf.d/auth_sslcert.conf
    292379Include conf.d/execsys.conf
    293 Include /afs/athena.mit.edu/contrib/scripts/vhosts/better-mousetrap.conf
  • server/fedora/config/etc/rc.d/rc.local

    r39 r151  
    1 #!/bin/sh
     1#!/bin/bash
    22
    33touch /var/lock/subsys/local
    44
    5 /bin/mkdir -m 1777 /tmp/sessions
     5/bin/mkdir -pm 1773 /tmp/sessions
Note: See TracChangeset for help on using the changeset viewer.