custom http.conf

nbsd

New member
Joined
May 21, 2007
Messages
2
hello,
how to rewrite all users httpd.conf file to this format:

Code:
Port 80
ServerRoot /etc/httpd
<VirtualHost 88.198.54.89:80>

        ServerName www.weseleislub.com
        ServerAlias www.weseleislub.com weseleislub.com 
        ServerAdmin [email protected]
        DocumentRoot /home/slub/domains/weseleislub.com/public_html
        ScriptAlias /cgi-bin/ /home/slub/domains/weseleislub.com/public_html/cgi-bin/

        UseCanonicalName OFF

        User slub
        Group slub
        CustomLog /var/log/httpd/domains/weseleislub.com.bytes bytes
        CustomLog /var/log/httpd/domains/weseleislub.com.log combined
        ErrorLog /var/log/httpd/domains/weseleislub.com.error.log

        <Directory /home/slub/domains/weseleislub.com/public_html>
                Options +Includes -Indexes
                php_admin_value session.save_path '/home/slub/domains/weseleislub.com/sessions'

        </IfModule>
        <IfModule mod_suphp.c>
                suPHP_Engine ON
                suPHP_UserGroup slub slub
                AddHandler x-httpd-php .php .php3 .php4 .php5
                suPHP_AddHandler x-httpd-php
        </IfModule>
        </Directory>
</VirtualHost>

each time when I add subdomain or something else?
 
Back
Top