Please help in htaccess !
I have programmed an small script for my members
script job is
1- They can create them folder on my site
2- They can create unlimted html pages in them folder on my site !
i have configured wildcard on server and it's ok
every thing is okay
i need only htaccess file
i want htaccess do that
1 - rewrite [VALUE1].mysite.com ----- mysite.com/folder.php?foldername=[VALUE1]
above the [VALUE2] is the query for every folder
2 - rewrite [VALUE1].mysite.com/[VALUE2] ---- mysite.com/folder.php?foldername=[VALUE1]&[VALUE2]
Here [VALUE1] is [test1]
[VALUE2] is [page=about_me&paged=2]
i finnaly finished my script after 4 months work !
and really need your help !
some one asked this question before
here the post
and they answered him right
but he required only one value [ profile.php?username=[NAME]
i required two values [folder.php?foldername=[VALUE 1]&[VALUE 2]