Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

adding username to Url

0 views
Skip to first unread message

sharma

unread,
Jul 14, 2005, 6:39:52 AM7/14/05
to
Hi,

I am developing a multilevel marketing system. This system will provide
users their own website(virtual). No real disk space. just play by
database and account status (paid or not paid).

I would like to have the url of a registered user like this

www.mysite.com/username/

I can create up to this point. when i tried to access this url. its the
requested url is not found..

Any ideas to make it work ?


Thanks in advance,
Sharma

Shelly

unread,
Jul 14, 2005, 7:24:12 AM7/14/05
to

"sharma" <sharma....@gmail.com> wrote in message
news:1121337592....@g44g2000cwa.googlegroups.com...

If you have a directory for each username, and in that directory have an
index.php or index.htm, then it should work. I have a site I am developing
and put all my management functions in a directory called manage which is
password protected. I access it as www.mysite.com/manage. All php and htm
calls are in that directory (unless I specify ../ in the code).

I assume that you will have control over what is uploaded by first checking
it before moving it into place. If so, then you can check for ../
occurances and deny the upload. Otherwise, you are opening up your world.

Shelly


JD

unread,
Jul 14, 2005, 8:46:52 PM7/14/05
to
You can do this with mod-rewrite

"sharma" <sharma....@gmail.com> wrote in message
news:1121337592....@g44g2000cwa.googlegroups.com...

Chung Leong

unread,
Jul 15, 2005, 9:52:56 AM7/15/05
to
Apache rewrite is the most direct approach. Creating a symlink for each
user to the same directory would work too.

0 new messages