dingus Posted June 3, 2008 Share Posted June 3, 2008 well now im stuck with an interesting problem..... i need a dynamic htaccess file that will change every night at midnight.... is there some sort of system setup that can make that easer (possable a php function i dont know about) or do i simply have to over write the .htaccess with a new once each time? Link to comment https://forums.phpfreaks.com/topic/108464-maintaining-htaccess-with-php/ Share on other sites More sharing options...
teng84 Posted June 3, 2008 Share Posted June 3, 2008 what kind of changes do you want? Link to comment https://forums.phpfreaks.com/topic/108464-maintaining-htaccess-with-php/#findComment-556120 Share on other sites More sharing options...
dingus Posted June 3, 2008 Author Share Posted June 3, 2008 basicly each of my clients will be able to create there own "profile" for there business based on 45 tempaltes i have pre designed now they are going to get a extention www.mysite.com/clientname i would like to use .htaccess to point that foward through to the accual folder containing there template Link to comment https://forums.phpfreaks.com/topic/108464-maintaining-htaccess-with-php/#findComment-556243 Share on other sites More sharing options...
trq Posted June 3, 2008 Share Posted June 3, 2008 I would be more inclined to let a php script handle the rewrite, and just one .htaccess file that passes every request to this one (controller) script. Its probably a fraction slower but a hell of allot easier to maintain. Link to comment https://forums.phpfreaks.com/topic/108464-maintaining-htaccess-with-php/#findComment-556245 Share on other sites More sharing options...
dingus Posted June 5, 2008 Author Share Posted June 5, 2008 thanks thorpe didnt evan cross my mind how ever sorta wishing it did..... Link to comment https://forums.phpfreaks.com/topic/108464-maintaining-htaccess-with-php/#findComment-558050 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.