WinXP latest sp, CF8, Apache latest version installed. IE8, FF3.5, FF3.01
In this setup I cannot get the telephone mask ( or, for that matter the required="yes" ) to work with a virtual host. If I run the code using http://localhost/cf8test/telephone.cfm it works fine and the mask and required attribute work correctly. If I run it as http://dev.cf8test.com/telephone.cfm then the mask and attribute do not work. Otherwise, the virtual host works correctly. Any suggestions what is going on here?
<cfform method="post" action="">
<cfinput type="text" message="Please enter a phone number." required="yes" name="phone" validate="telephone" mask="(999) 999-9999" maxlength="15" />
<cfinput name="premium" type="submit" value="Submit Registration" />
Apache httpd.conf contains..
Apache virtual host setup is as follows.
Allow from all
hosts file is as follows
ie This probably returns an http 404 error:
CFSearching was on the right track. It was a mapping issue. I added an alias to the virtual host config and all is well.
Alias /CFIDE "c:/inetpub/wwwroot/CFIDE" to the virtual host.