disconected Posted October 21, 2009 Share Posted October 21, 2009 hi I saw some sites are using some custom extensions on their sites and someone told me that only thing needed to setup this is just same small change in existing php code but nobody knows exactly how to do it so i thought i might ask here.Exactly what i want to do is explained with next example lets say i have site that is http://free4udirect.com/index.php now i want to put custom extension instead of php so my site looks like http://free4udirect.com/index.mod or something else "index.my extension" thanks Quote Link to comment https://forums.phpfreaks.com/topic/178460-php-extension-change/ Share on other sites More sharing options...
Daniel0 Posted October 21, 2009 Share Posted October 21, 2009 Assuming you're using Apache, add this to your httpd.conf file: AddType application/x-httpd-php .mod Quote Link to comment https://forums.phpfreaks.com/topic/178460-php-extension-change/#findComment-941104 Share on other sites More sharing options...
disconected Posted October 21, 2009 Author Share Posted October 21, 2009 Thanks mate Finaly someone gave me direct answer to this question I will try to write tutorial on this on my site so other people who need it also can learn how to do it,since i haven't seen any tutorial about this posted anywhere ofc with credits to you Quote Link to comment https://forums.phpfreaks.com/topic/178460-php-extension-change/#findComment-941107 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.