ASP.NET mi Apache

Alles, was den Apache betrifft, kann hier besprochen werden.

ASP.NET mi Apache

Postby lila3 » 15. June 2006 10:17

Hallo,

ich habe auf einem Windows XP Rechner einen Apache 2.0.55 laufen und habe zusätzlich das Modul mod_aspdotnet installiert. In der httpd.conf habe ich folgende Eintragungen vorgenommen:

LoadModule aspdotnet_module modules/mod_aspdotnet.so

AddHandler asp.net asax ascx ashx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo
Add Handler aspx xsd dcuil pas bdsproj cfg dpr identcache rsp

<IfModule mod_aspdotnet.cpp>
# Mount the ASP.NET application
AspNetMount /LISBenutzer "C:/Programme/Apache Group/Apache2/htdocs/WebApplication2"

####

Alias /LISBenutzer "C:/Programme/Apache Group/Apache2/htdocs/WebApplication2"

<Directory "C:/Programme/Apache Group/Apache2/htdocs/WebApplication2">
Options FollowSymlinks ExecCGI
Order allow,deny
Allow from all
DirectoryIndex index.htm webform1.aspx
</Directory>

####

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>


Wenn ich im Browser http:// localhost/Webapplication2 aufrufe, zeigt er mir webform1.aspx als Source-Code an:

<%@ Page language="c#" Debug="true" Codebehind="WebForm1.pas" AutoEventWireup="false" Inherits="WebForm1.TWebForm1" %>
<%@ Register TagPrefix="borland" Namespace="Borland.Data.Web" Assembly="Borland.Data.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title></title>
</head>

<body style="WIDTH: 1210px; HEIGHT: 371px">
<form runat="server">
<borlandBWebGrid id="DBWebGrid1" style="Z-INDEX: 1; LEFT: 14px; POSITION: absolute; TOP: 6px" runat="server" dbdatasource="<%# DBWebDataSource1 %>" tablename="TB_LIS_BENUTZER"></borlandBWebGrid>
</form>
</body>
</html>

Die ASP.NET - Anwendung habe ich mit Delphi.NET geschrieben und auf dem lokalen IIS wird sie korrekt ausgeführt.
Kann mir vielleicht jemand helfen, den Apache dazu zu bringen, die Anwendung auch richtig auszuführen?
lila3
 
Posts: 2
Joined: 15. June 2006 10:07

Postby deepsurfer » 16. June 2006 12:58

ICh weiss nicht ob dies bei Apache 2.0.x aktuell ist.
http://faq.kwm-web.info/doku.php?id=apa ... _von_xampp
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian


Return to Apache

Who is online

Users browsing this forum: No registered users and 55 guests