I currently have something like this:
<% if 1<>1 %>
If you are reading this then you have not gone through PWS/IIS
<% end if %>
myURL = new String([url removed, login to view]);
and analyse it to give a more meaningful response:
1. If the URL contains \inetpub\wwwroot, then show an alert box and redirect to <http://localhost/foldername/scriptname>
3. If the path does exist (or we are unable to detect either way) then write a message telling them where they should move the folder to.
e.g. if the user has entered c:\program files\mytest\[url removed, login to view]
then it should say something like:
This folder does not appear to be in your web tree.
Please move the mytest folder (currently located at c:\program files\) to c:\inetpub\wwwroot. Once you have done this, click on this link: http://localhost/mytest/[url removed, login to view]
1) Complete and fully-functional working script. 2) Complete ownership and distribution copyrights to all work purchased.