Hello,

I am trying to configure Apache so I can test ASP.NET files locally.
Although I have to say I am finding it quite difficult and would
greatly appreciate some help.

I have installed Apache and have the .NET framework. I have also
installed the ASP.NET module found at the following location

http://httpd.apache.org/cli/

and tried to configure this in the httpd.conf file following the
instructions listed here

http://httpd.apache.org/cli/mod_aspdotnet

However, I am not sure where to put the code found in the above page
in the .conf file, and what to include in my .aspx file. Could you
help me to get the following ASP.NET code working please, it's from
w3schools. I have saved it in htdocs but when I try to load it I just
see the code.

Thanks for any help

<script  runat="server">
Sub Page_Load
if Not Page.IsPostBack then
  lbl1.Text="The date and time is " & now()
end if
End Sub

Sub submit(s As Object, e As EventArgs)
lbl2.Text="Hello World!"
End Sub
</script>

<html>
<body>
<form runat="server">
<h3><asp:label id="lbl1" runat="server" /></h3>
<h3><asp:label id="lbl2" runat="server" /></h3>
<asp:button text="Submit" onclick="submit" runat="server" />
</form>
</body>
</html>

Does php also require the inclusion of other modules?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to