Jump to content

html files downloading insted of running?...


archonik

Recommended Posts

Hi, I just created a virtual host for my domain. When I access the directory directly from otherdomain/zmaker it works just fine, but when I try do access it via the domain 'myserver' it downloads the file instead of actually running it on every browser that is not IE. It works ok on IE (but I think it just doesn't realize that it should download that file. What a silly browser that is)

 

Here's the piece of my apache conf file that I use to address this domain:

 

<VirtualHost properip>
  ServerName myserver
  DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.phtml index.shtml index.shtm
  DocumentRoot "/srv/www/vhosts/somepath/httpdocs/zmaker"
  ServerAlias myserver *.myserver
  <Directory "/srv/www/vhosts/somepath/httpdocs/zmaker">
    Options All ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
    Allow from all
  </Directory>
</VirtualHost>

 

Any help would be much appreciated. Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.