Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Run ASP only from IIS within Parallels Internet
I have an old web app that's using Active Server Pages, and I want to run it on my (Intel) Mac. This is basically not a big deal, because you can simply use Microsoft IIS under Parallels.

But I wanted to use IIS only for ASP files, and let Apache handle the rest. And here's how to make sure IIS only handles what it's supposed to:
  1. Make a share of your Webserver Root directory in Parallels.
  2. On the PC, in the IIS Control Panel, click on the default Website, click on Properties, then choose Home Directory, select that the content should come from A Share located on another computer and enter .PSFyoursharename as the network directory.
  3. Make sure you allow ASP under Web Service Extensions
  4. On the Mac, uncomment the following lines in /private -> etc -> httpd -> httpd.conf (remove the #'s):
    LoadModule rewrite_module     libexec/httpd/mod_rewrite.so
    LoadModule proxy_module       libexec/httpd/libproxy.so
    AddModule mod_rewrite.c
    AddModule mod_proxy.c
  5. Then you have to add the following code somewhere in your httpd.conf file:
        RewriteEngine On
        RewriteCond %{REQUEST_URI} .*.asp$
        RewriteRule ^/(.*)$  http://1.2.3.4/$1 [P]
    where 1.2.3.4 should be the IP of the windows virtual machine.
  6. Run sudo apachectl graceful to restart apache.
Finished! Now you have full ASP support on your Mac!
    •    
  • Currently 2.43 / 5
  You rated: 4 / 5 (7 votes cast)
 
[15,729 views]  

10.4: Run ASP only from IIS within Parallels | 5 comments | Create New Account
Click here to return to the '10.4: Run ASP only from IIS within Parallels' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Run ASP only from IIS within Parallels
Authored by: adrianm on Oct 13, '06 08:21:02AM

If it's an old ASP site, you might want to consider using mono with apache, which supports ASP.NET iirc.

Don't need Parallels or Windows then.



---
~/.sig: not found



[ Reply to This | # ]
10.4: Run ASP only from IIS within Parallels
Authored by: adrianm on Oct 13, '06 12:12:05PM
Have a look at http://www.mono-project.com/ASP.NET

---
~/.sig: not found

[ Reply to This | # ]

10.4: Run ASP only from IIS within Parallels
Authored by: unforeseen:X11 on Oct 13, '06 08:46:12AM

I'm sure this already counts as 'rape'... =)

---
this is not the sig you`re looking for.



[ Reply to This | # ]
10.4: Run ASP only from IIS within Parallels
Authored by: geert2705 on Oct 13, '06 12:59:48PM
As far as I know, mono doesnt support VB(.NET), so also no Classic ASP. See http://www.mono-project.com/VisualBasic.NET_support

[ Reply to This | # ]
10.4: Run ASP only from IIS within Parallels
Authored by: prioregroup on Mar 31, '08 07:32:08AM

the first steps not cleared



[ Reply to This | # ]