Custom Query (196 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 196)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#3 fixed Interface for automatic vhost management xavid andersk
Description

(Imported from help.mit.edu #394939.)

geofft:

I have a rough prototype of an auto-CNAME script in /mit/geofft/scripts/cname.sh. People should test it, make sure its logic is right, and laugh at my poor coding standards. I think it handles everything (modulo the special case for "DELETE", which it doesn't explicitly take care of at the moment). It doesn't actually do anything yet, just print the actions that it would take.

I'll make it do something (i.e., e-mail jweiss and dump the vhost into SVN) once I'm confident its existing logic is right. Oh, and recommendations for a decent regex or other pattern-matching check for scripts URLs? (Escaping the string and calling wget is certainly an option.)

Oh, and someone who doesn't "add consult" by default (especially someone with tcsh) should make sure the script can still reach qy.

geofft:

Yeah, so more people should test this so we can put it into production. Seriously, it takes like 2 minutes to try some valid data and make sure it produces correct output, and then try invalid data and make sure it errors. And maybe 5 more minutes to read through my source and find holes in it. (Although most holes don't matter, since the script executes as the user.)

andersk:

I fixed some bugs:

/mit/andersk/Public/scripts/geofft-cname.sh

#4 invalid Cleaning /tmp sessions broder
Description

scripts should do something more clever than

0 5 * * * /usr/bin/find /tmp/sessions/ -type f | /usr/bin/xargs /bin/rm -rf >/dev/null 2>&1

(Taken from RT #436572)

#5 wontfix PHP iCalendar should default to Eastern time zone andersk
Description

(Imported from help.mit.edu #397407.)

jceggles:

I exported my TechTime? calendar as an iCal and uploaded it to PHP iCalender and the events are 4 hours off. I've been looking online and don't see a fix for this. Since the Oracle calendar is in wide use here, I figure somebody is doing this.

geofft:

Hm, a 4-hour time discrepancy sounds rather like PHP iCalendar not knowing about your time zone - and indeed, the standard config file defaults to GMT.

If you edit the file "config.inc.php" in your install directory, you will see a line about one screen down with the text:

$timezone = '';

Change this line to read:

$timezone = 'US/Eastern';

This should introduce the proper 4-hour time difference from GMT. Let us know if iCalendar continues to give you problems.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.