Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Formmail.ini

;For forms that use /WRAP_SDDU/BL-INFO-WEBS/SoiC Website/_php/formmail/formmail.php
;This file wants to live at
;webservet.uits.indiana.edu:/ip/soic2/formmail.ini
;webserve.uits.indiana.edu:/ip/soicweb/www/formmail.ini
;/WRAP_SDDU/BL-INFO-WEBS/SoiC Website/_php/formmail/formmail.ini.txt
;Please update it in all spots.
;
;It is here for backup/recordkeeping purposes

[email_addresses]
soic = "soic@indiana.edu"
soicugrd = "soicugrd+recruiting@indiana.edu"
soiccsgr = "soiccsgr@indiana.edu"
web = "soicweb@indiana.edu"
help = "soichelp@indiana.edu"
infograd = "infograd@indiana.edu"
ilsmain = "ilsmain@indiana.edu"
iugrenger = "iugrengr@indaina.edu"
iseengr = "iseengr@indiana.edu"
soicengr = "soicengr@indiana.edu"
iucs = "iucs@indiana.edu"

 

php.ini (development server)

#name the file /ip/soic2/wwws/php.ini
include_path=".:/ip/soic2/wwws/:/ip/soic2/wwws/_php/"

php.ini (production server)

#name the file /ip/soicweb/wwws/www.soic.indiana.edu/php.ini
include_path=".:/ip/soicweb/www/www.soic.indiana.edu"

sitemap generator

These scripts live in /ip/soicweb/bin
and are run by cron, edit with crontab -e

Current cron:
15 00 * * * /usr/local/bin/php /ip/soicweb/bin/sitemap/create_soic_sitemap.php >> /ip/soicweb/bin/sitemap-soiceweb.log
15 00 * * * /usr/local/bin/php /ip/soicweb/bin/sitemap/create_cs_sitemap.php >> /ip/soicweb/bin/sitemap-csweb.log
15 00 * * * /usr/local/bin/php /ip/soicweb/bin/sitemap/create_informatics_sitemap.php >> /ip/soicweb/bin/sitemap-informaticsweb.log
15 00 * * * /usr/local/bin/php /ip/soicweb/bin/sitemap/create_ils_sitemap.php >> /ip/soicweb/bin/sitemap-ilsweb.log
15 00 * * * /usr/local/bin/php /ip/soicweb/bin/sitemap/create_ise_sitemap.php >> /ip/soicweb/bin/sitemap-iseweb.log
*/4 * * * * /usr/bin/wget -O - -q -t 1 http://www.soic.indiana.edu/_php/onestart-xml-updater.php

 

create _XXXX_sitemap.php

<?php

ini_set('display_errors', 'On');
error_reporting(E_ALL | E_STRICT);

...