[...]
On Sat, Jun 2, 2012 at 2:16 PM, Raj Mathur (राज माथुर) <[email protected]
> wrote:

> On Saturday 02 Jun 2012, Raakesh kumar wrote:
>
> One way to achieve this would be to put up a wildcard DNS record for
> *.example.com pointing to your web server.  Then in the server either
> create a virtual host for each user, or use mod_rewrite to redirect
> user.example.com to example.com/~user (or something).
>
[/...]
Okay.. I am aware of these things and can do that but i will require access
to root, right? Using .htaccess to allow example.com/user using mod_rewrite
has already been thought but i only want user.example.com.. Now is it
possible to create a sub domain(really/virtually) if i don't have access to
root on the server??
[...]

>
> Not saying anything about security, that's a completely different ball
> game.  Will consult for trifling fee, please see my mail dated
> 2012-05-28 for details.
>
[/...]
Will definitely pay you if it will require.. :) .. But AFAIK suggesting on
ILUG Delhi doesn't cost anything to anyone, right? Anyway can you send me
that mail again to may mail id?? It will be good.
[...]

>
> > As i guess it's not a good idea.. so is there any method using
> > .htaccess or anyhow to fulfill this requirement??
> > Need suggestions
>
> With the appropriate configuration, you can add add rewrite rules in
> .htaccess AFAIR.
>
[/...]
Does it require any extra configurations other than
mod_rewrite/RewriteRule??
[...]

>
> I could be wrong, but from your mail I get the impression that you don't
> have a good handle on either the problem or the possible solutions.
> Suggest reading a lot and chatting with experienced people.
>
> [/...]
Maybe i have not a hands on experience on these tools.. and that's why i
asked how to do it dynamically? i have to do this using any server side
scripting language(in theory) and as i have php so it would be best if
you/anyone can suggest me some php tool.. As i know, i can create a sub
domain using php and cPanel API only but that will really create a sub
domain which will create a security threat. I want the same functionality
as wordpress.com provides like when you create a blogging account with user
id 'xxx', it gives you a url named as xxx.wordpress.com

At this point after reading your comments i suppose i will have to do this
using htaccess only. But if you have some better suggestions please do post
that..


Thanking you
-- 
Regards
RAKESH KUMAR
_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to