Running asp aspx in wamp - Yes/No
Posted by: FuzMic (113.210.139.---)
Date: November 06, 2014 04:41PM

Hi friends

Can wamp handling dynamic aspx or asp file? If so how to set it up?

Is this the way to go: AddType application/x-httpd-php .asp .aspx .ascx .ashx in httpd.conf



Edited 1 time(s). Last edit at 11/06/2014 04:43PM by FuzMic.

Options: ReplyQuote
Re: Running asp aspx in wamp - Yes/No
Posted by: FuzMic (113.210.136.---)
Date: November 07, 2014 12:25AM

Hi guys

Here is what i just found, need words of assurance to tinker to decide which is the better way or if any of these work.

Quote
"It used to be possible to have Apache interface directly with the ASP.NET engine/system via mod_aspdotnet, but that module was abandoned some time ago."

but i still found mod_aspdotnet-2.2.0.2006-r2

The way: Apache be the front-end server (port 80) and have IIS be the back-end server (8080). Then use Apache's ProxyPass directive to proxy specific websites or URLs to IIS, which runs the ASP.NET code, and give the output back to Apache, which delivers it to the visitor/client.


This is what i did with aspdotnet

1 Installed module in apache root directory of wamp, result 73k .so file can be seen in the module subfolder.
2 There is a already the temporary folder ie v2.0.50727\Temporary ASP.NET in windows folder
3 Add <IfModule mod_aspdotnet.cpp> ... </Ifmodule> before “Include “c:/wamp/alias/*”” in the httpd.conf
3 Loaded aspdotnet.so module in the LoadModule section offhttpd.conf with LoadModule aspdotnet_module “modules/mod_aspdotnet.so”

After shut down and restart wamp, all seem ok as this module is ticked in tray's apache modules

but ...
the any dynamic aspx or asp file in the localhost folders is not processed by .net.

Any views



Edited 1 time(s). Last edit at 11/07/2014 01:05AM by FuzMic.

Options: ReplyQuote
Re: Running asp aspx in wamp - Yes/No
Posted by: FuzMic (113.210.136.---)
Date: November 09, 2014 05:45AM

Final word on this

XpWin.sp3 has only iis v5.1, thus it will NEVER process aspx. Only from Vista onwards there is this is possible. Win7 has iis v7.5.

Also virtual directory eg VirtDir is actually a subdirectory of the wwwroot; to access any asp file in the VirtDir, browser address must include the path eg localhost/VirtDir/myFirst.asp.

Options: ReplyQuote


Sorry, only registered users may post in this forum.