page2pagepro Posted May 13, 2010 Report Share Posted May 13, 2010 Tested to work with 'hello-world.aspx'. Here are my steps for getting ASP to work with Uniform Server 5.6.5 Variables used for this how-to. %top% is assumed your path to the root of UniServer InstallationTemporarily rename %top%\usr\local\apache2\bin\Apache.exe to httpd.exeDownload mod_aspdotnet-22.214.171.1246-setup-r2.msi Install module to %top%\usr\local\apache2 (All this does is install mod_aspdotnet.so to apache2\modules folder and adds manual to apache2\manual, and of course adds registry entries)Make a copy of mod_aspdotnet.so to _mod_aspdotnet.soUninstall "mod_aspdotnet for Apache HTTP Server 2.2" - removing 'all' trace from the computer.Rename _mod_aspdotnet.so to mod_aspdotnet.soRename httpd.exe back to Apache.exeAdd following to the BOTTOM of your %top%\usr\local\apache2\conf\httpd.conf#asp.netLoadModule aspdotnet_module "modules/mod_aspdotnet.so"AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo<IfModule mod_aspdotnet.cpp> # Mount the ASP.NET /asp application AspNetMount /asp "%top%/www/asp" #/SampleASP is the alias name for asp.net to execute #"c:/SampleASP" is the actual execution of files/folders in that location # Map all requests for /asp to the application files Alias /asp "%top%/www/asp" #maps /SampleASP request to "c:/SampleASP" #now to get to the /SampleASP type http://localhost/SampleASP #It'll redirect http://localhost/SampleASP to "c:/SampleASP" # Allow asp.net scripts to be executed in the /SampleASP example <Directory "%top%/www/asp"> Options FollowSymlinks ExecCGI Order allow,deny Allow from all DirectoryIndex index.htm index.aspx #default the index page to .htm and .aspx </Directory> # For all virtual ASP.NET webs, we need the aspnet_client files # to serve the client-side helper scripts. AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" <Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"> Options FollowSymlinks Order allow,deny Allow from all </Directory></IfModule>#asp.net[*]Restart Server[*]Place your hello-world.aspx in folder %top%/www/asp[*]Please provide feedback if you find a simpler method.I have not tested beyond *BASIC* functionality of the mod. Please, if you have an involved ASP script, please try it out and share your results. thanx! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.