I've searched and searched and the closest solution I've found was adding the following:
Carlos wrote:
----------------------------------------------------------------------------------
I got asp.net running on apache2.2.
Steps:
Download latest mod_aspdotnet for apache2.2 from sourcefourge.net and Install it.
Open the httpd.conf file located at C:\program files\apache software foundation\apache 2.2\conf\httpd.conf
copy these lines at the end of the httpd.conf file:
LoadModule 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 aspdotnet_module>
# Mount the ASP.NET /asp application
AspNetMount /SampleASP "c:/SampleASP"
#/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 /SampleASP "c:/SampleASP"
#maps /SampleASP request to "c:/SampleASP"
#now to get to the /SampleASP type [
localhost]
#It'll redirect [
localhost] to "c:/SampleASP"
# Allow asp.net scripts to be executed in the /SampleASP example
<Directory "c:/SampleASP">
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
------------------------------------------------------------------------------------------
Of course my httpd.conf file wasn't located where he mentioned because I'm running WAMP 2.0.
All the other links looked okay except I wasn't too sure about the c:/sampleASP location. I couldn't figure out what it was trying to do by adding that in.
From my WAMP 2.0 control panel in my tray, under Apache> Apache Modules> aspdotnet_module has a check mark next to it.
I restarted WAMP 2.0 and still can't get a .asp file to load correctly.