Installed mod_aspdotnet
Posted by: groundzero2010 (---.ks.ks.cox.net)
Date: January 20, 2008 05:11AM

I downloaded the latest mod_aspdotnet from sourceforge.net installed on my WAMP 2.0 server. When it asked where to install I choose this directory:

wamp/bin/apache/apache2.2.6

I believe this is the correct place to install it.

Anyways, I created a simple test.asp file and placed it in my 'www' folder. The test.asp file is suppose to display the current time.
But its not working. It doesn't show anything.
Here is what is in the test.asp file

<%@ Language="VBScript" %>
<html>
<head>
<title>ASP Test Page</title>
</head>

<body>

<%
'Display the current system date and time
Response.write "Today's date and time is " & Now()
%>

</body>
</html>

Options: ReplyQuote
Re: Installed mod_aspdotnet
Posted by: groundzero2010 (---.ks.ks.cox.net)
Date: January 20, 2008 05:47AM

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.

Options: ReplyQuote
Re: Installed mod_aspdotnet
Posted by: yfastud (Moderator)
Date: January 20, 2008 05:49AM

You sample script is running fine on my server

Actually, I'm still working on the guides and will post the guide for asp.net soon

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Installed mod_aspdotnet
Posted by: groundzero2010 (---.ks.ks.cox.net)
Date: January 20, 2008 06:09AM

What setup are you running? If I remember correctly you had said somewhere you installed mod_aspdotnet using AS package not the .msi installation.

If so..whats the difference between them?

Options: ReplyQuote


Sorry, only registered users may post in this forum.