Resource interpreted as Script but transferred with MIME type text/html webmin/virtualmin

3 posts / 0 new
Last post
#1 Sun, 01/05/2014 - 17:57
edgenova

Resource interpreted as Script but transferred with MIME type text/html webmin/virtualmin

Hellor everybody,
- I'm a web developer and I beginner with Webmin/Virtualmin, and I installed webmin/virtualmin on my VPS debian 7 (Squeeze), and Is better panel, and My problem is the content to reponse in server, and I think is the Mime type look at the error of chrome at bottom, before I transer my website it's working with the external file script for ads and pub now doesn't work :

This is the message error :

Resource interpreted as Script but transferred with MIME type text/html: "http://www.somecompany.com/script/java.php?option=rotateur&rotateur=62663".

and in httpconf :

SuexecUserGroup "#1003" "#1002"
ServerName mywebsite.com
ServerAlias www.mywebsite.com
ServerAlias webmail.mywebsite.com
ServerAlias admin.mywebsite.com
DocumentRoot /home/mywebsite/public_html
ErrorLog /var/log/virtualmin/mywebsite.com_error_log
CustomLog /var/log/virtualmin/mywebsite.com_access_log combined
ScriptAlias /cgi-bin/ /home/mywebsite/cgi-bin/
ScriptAlias /awstats/ /home/mywebsite/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5

Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/mywebsite/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/mywebsite/fcgi-bin/php5.fcgi .php5

allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch

RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.mywebsite.com
RewriteRule ^(.*) https://mywebsite.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.mywebsite.com
RewriteRule ^(.*) https://mywebsite.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
php_admin_value engine Off
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824

AuthName "mywebsite.com statistics"
AuthType Basic
AuthUserFile /home/mywebsite/.awstats-htpasswd
require valid-user


Can you help me or give me some suggestion?

Mon, 01/06/2014 - 15:58
edgenova

Can you help plz?

Mon, 01/06/2014 - 16:18
andreychek

Howdy,

I'm unfortunately not sure what the problem you're seeing might be, I've never run into that error before.

Do you perhaps have a .htaccess file that's setting the MIME types? If there's a .htaccess file in your public_html folder, you may want to try temporarily renaming it, just to see if things work at that point.

-Eric

Topic locked