PAZUL Posted October 13, 2008 Share Posted October 13, 2008 Hi there, We are developing a web application (PHP/Apache/MySQL) and we would need to automatically create folders for each client. Something like: http://www.domain.com/clientfolder Any light on this issue will be very welcome. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 13, 2008 Share Posted October 13, 2008 What's the purpose of the creating folders for each client? Are you trying to create clean urls, such as instead of a url like: domain.com/file.php?client=name you want it like domain.com/clientname If that's the case you should look into mod_rewrite instead. Apache on its own cant create folders. You'll need to use some from of server side language such as Perl or PHP etc to handle the creation of folders. Quote Link to comment Share on other sites More sharing options...
PAZUL Posted October 13, 2008 Author Share Posted October 13, 2008 Yes its only for clean urls. I'll check info about mod_rewrite then. If you have some good resources drop them in. Thanks a lot. Really helpful guideline. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 13, 2008 Share Posted October 13, 2008 There are many guides available for how to use mod_rewrite. Here is one I used when I first got into mod_rewrite. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.