archonik Posted November 4, 2008 Share Posted November 4, 2008 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! Quote Link to comment Share on other sites More sharing options...
trq Posted November 4, 2008 Share Posted November 4, 2008 The only thing I can see thats wrong with your virtual host config is your servername is duplicated as a serveralias, remove it. Quote Link to comment Share on other sites More sharing options...
archonik Posted November 4, 2008 Author Share Posted November 4, 2008 Nope, It didn't work Quote Link to comment Share on other sites More sharing options...
trq Posted November 4, 2008 Share Posted November 4, 2008 Yeah, I didn' think that actually was the issue, just pointing it out. It would seem your mime types may be misconfigured but its hard to tell. Can you grep your httpd.conf file for AddType directives and post the results? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.