Hi,
I've downloaded and installed wamp ... when I type in [
localhost] I can see that the installation worked.
I've tried to set up two subdomains (plasmatv, canonlens)but whenever I type the url in the browser I get a dialog box opening (as though I'm trying to download something) which says
Opening
You have chosen to open
which is a: application/x-http-php
from [
plasmatv.deals--now.com]
What should Firefox do with this file
then I get the choice of :
Open with
or
Save to disc
If I save to disc the I get a copy of my index.php file saved to my local disc in a file called mslzccw9
Anyone tell me why the index.php script isn't executin and tries to download?
I have a .htaccess file in the subfolder, here it is:
<Start htaccess>
ErrorDocument 404 /
AddHandler application/x-httpd-php5 .php .html .htm
DirectoryIndex index.php?pagename=Plasma-Tv ##<<<<Change For Use "-" for spaces<<<<<
RewriteEngine on
RewriteRule ^(.*)\.html index.php?pagename=$1 [NC,L]
<End htaccess>
Here is the virtual server stuff from the httpd-vhosts.conf
<VirtualHost *:80>
ServerName www.deals--now.com
ServerAlias deals--now
DocumentRoot C:/wamp/www/deals--now
ErrorLog C:/wamp/www/deals--now/logs/error.log
CustomLog C:/wamp/www/deals--now/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName plasmatv.deals--now.com
ServerAlias plasmatv
DocumentRoot C:/wamp/www/plasmatv
ErrorLog C:/wamp/www/plasmatv/logs/error.log
CustomLog C:/wamp/www/plasmatv/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName canonlens.deals--now.com
ServerAlias canonlens
DocumentRoot C:/wamp/www/canonlens
ErrorLog C:/wamp/www/canonlens/logs/error.log
CustomLog C:/wamp/www/canonlens/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
ErrorLog C:/wamp/www/logs/error.log
CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>
Here is the stuff from the hosts file:
127.0.0.1 localhost
127.0.0.1 deals--now.com
127.0.0.1 plasmatv.deals--now.com
127.0.0.1 canonlens.deals--now.com
anyone help??