20
Mar

The web developer's holy vhost trinity

Trackbacks

Trackback specific URI for this entry
    No Trackbacks

Comments

Display comments as (Linear | Threaded)

    Hey Marcus, nice post. We use one machine for all developers and currently have to handle a lot of vhosts. This is a good way to consolidate them. It would be even better if you could specify the developers username which points to the developers home directory, eg. (project1-trunk.enrico.dev.example.com). Any ideas? Kind Regards Enrico
    #1 Enrico Stahn (Homepage) on 2009-04-12 14:05 (Reply)
    Other than by scripting the addition of an htpasswd username at the same time as you add a folder, I don't see any way to do this. I guess you could use groups to assign them to multiple vhosts at once (which might allow you to give access to existing users without having to do anything), but you can't wildcard passwords!
    #1.1 Marcus Bointon on 2009-04-14 19:44 (Reply)
    Hey Marcus, i solved this issue. VirtualDocumentRoot /home/%2/web/%1 "project1-trunk.enrico.dev.example.com" will now point to "/home/enrico/web/project1-trunk".
    #1.1.1 Enrico Stahn (Homepage) on 2009-04-18 13:19 (Reply)

Add Comment


You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

 
Submitted comments will be subject to moderation before being displayed.
 
























Calendar

Back February '10
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28

Quicksearch

Blog Administration

Show tagged entries

Powered by

Serendipity PHP Weblog