Directadmin web editor

thunn

Verified User
Joined
Mar 13, 2012
Messages
166
Hello Supporters,
1. My php code has some part which is this extension: .inc, and a file name like this: #configs.php and I have no way to edit it via web interface.

2. The encoding issue. I can not have the correct front-encoding after edit a file which contain Vietnamese.

Thank you.
 
Hello Supporters,
1. My php code has some part which is this extension: .inc, and a file name like this: #configs.php and I have no way to edit it via web interface.

Hello,

You should add .inc into your system mime type file.
 
Hello,

You should add .inc into your system mime type file.

Thanks. But I tried and it does not work:
Code:
text/plain                                      txt inc text conf def list log in #Thunn add "inc" as mimetype of text/plain

Am I right when I changed this on "/etc/httpd/conf/mime.types"?

PS: I have restarted the httpd service too.
 
Try system then, find all mime.types files in /etc/...
I faced the same problem years ago , and don't remember what exactly location of the file should be....
 
Try system then, find all mime.types files in /etc/...
I faced the same problem years ago , and don't remember what exactly location of the file should be....

Hello, I found it here: /usr/local/directadmin/custombuild/mime.types
It works great, thanks!

Do you have any experience related to Encoding issue?
 
Back
Top