Ciao, sto provando a eseguire un pagina aspx da Apache ma non riesco a vedere tutti gli oggetti di tipo asp definiti nella mia pagina.
Ho istallato il mod_aspnet e ho aggiornato il file httpd.conf de apache. Faccio una proba con questo codice sembra funzionare.
codice:
<%@ Page Language="VB" %>
<html>
<head>
<link rel="stylesheet"href="intro.css">
</head>
<body>
<center>
<form action="index.aspx" method="post">
<h3> Name: <input id="Name" type=text>
Category: <select id="Category" size=1>
<option>One</option>
<option>Two</option>
<option>Three</option>
</select>
</h3>
<input type=submit value="Lookup">
<% Dim I As Integer
For I = 0 to 7 %>
<font size="<%=I%>"> Sample ASP.NET TEST</font>
<% Next %>
</form>
</center>
</body>
</html>
ma facendo una pagina un po più elaborata, con bottoni asp.net, non riesco a vedergli, vedo solo la parte di html
esempio
codice:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>JhonB's probe</title>
</head>
<body>
Johns's page</p>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString1 %>"
OnSelecting="SqlDataSource1_Selecting" ProviderName="<%$ ConnectionStrings:ConnectionString1.ProviderName %>"
SelectCommand="select * from temp"></asp:SqlDataSource>
</div>
<asp:AccessDataSource ID="AccessDataSource1" runat="server"></asp:AccessDataSource>
<asp:Label ID="Label1" runat="server" Text="oeoe" Width="263px"></asp:Label>
</form>
</body>
</html>
carico la pagina sul home di Apache e vedo solo quello en html, ovvero
Qualcuno mi potrebbe dire cosa dovrei fare in più?
Grazie in anticipo