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 :
<VirtualHost 80.241.216.212:80 [2a02:c200:0000:0010:0002:0001:9469:0001]:80>
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
<Directory /home/mywebsite/public_html>
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
<Directory /home/mywebsite/cgi-bin>
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?