Opened 16 years ago

Closed 14 years ago

#3 closed enhancement (fixed)

Interface for automatic vhost management

Reported by: andersk Owned by: xavid
Priority: major Milestone:
Component: web Keywords:


(Imported from #394939.)


I have a rough prototype of an auto-CNAME script in /mit/geofft/scripts/ 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.


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.)


I fixed some bugs:


Change History (6)

comment:1 Changed 16 years ago by andersk

  • Summary changed from deploy auto CNAME script to Interface for automatic vhost management

comment:2 Changed 16 years ago by price

  • Priority changed from major to critical

Current thinking is that this should be a web interface exposed to users, like webmoira. It'll be easier to make sane things happen after #17 is done.

comment:3 Changed 16 years ago by quentin

When we implement this change, we should also allow users to create * We should at the same time make sure that users cannot sign up lockers that are named *.otherusername.scripts or vice versa.

comment:4 Changed 14 years ago by mitchb

  • Owner set to xavid

Xavid's made major progress to having scripts-pony exist and be ready for prime-time.

comment:5 Changed 14 years ago by adehnert

Is this ticket in any sense not complete?

comment:6 Changed 14 years ago by xavid

  • Resolution set to fixed
  • Status changed from new to closed

Yeah, I think we can close this now.

Note: See TracTickets for help on using tickets.