javascript - how to change index.html/php into index.myname? -
javascript - how to change index.html/php into index.myname? -
is possible alter extension of file without affecting output..
for illustration : http://www.cox.com/myconnection/home.cox
from above url : file extension .cox . this
help me soon.
thanks in advance
to give total answer, need more information, such file mime type you're trying alter , server environment.
with apache, can assign file extensions mime type. example, create '*.cox' files interpreted php files on apache, add together next rule either in httpd.conf or in .htaccess file:
addtype application/x-httpd-php .cox
now apache treat '*.cox' files php files , allow php engine process them. different mime-types, alter mime type - http://en.wikipedia.org/wiki/internet_media_type
javascript php html
Comments
Post a Comment