i have this directories:
example.com/mister23/
example.com/mister45/
example.com/mister67/ and so on
and i wanna make them look like this
mister23.example.com
mister45.example.com
mister67.example.com
i've aleardy setup a wildcard dns and i've edit the vhost.conf file too, all i need is the mod rewrite . tnx allot

What do you mean?

You want to activate mod_rewrite at domain level for your website?

# Override PHP settings. The first IfModule is
# for Apache 1.3, the second for Apache 2.
<IfModule mod_php4.c>
php_value register_globals 1
</IfModule>
<IfModule sapi_apache2.c>
php_value register_globals 1
</IfModule>

That in .htaccess activates it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.