You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cli-users@httpd.apache.org by Kishore Annavarapu <ac...@gmail.com> on 2005/03/01 02:27:59 UTC

[cli-users] Problems in Getting mod_aspdotnet running

Hi,
   I have a web site that is written in asp.net (.Net Version: 1.1.4322). I
use SQL server 2000 as the database back end. The site is working fine under
IIS 5.1 on Windows XP Professional with SP2 installed.
  I wanted to move the site to Apache and mod_aspdotnet module. I installed
the Version 2.0.0 for aspdotnet module and the 2.0.53 version for apache.
How ever I was not able to configure Apache/aspdotnet combination to work
properly.
 Here are the problems I am facing:
    I added the following code to httpd.conf file and restarted Apache
    AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)"
\
 
"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" 
        I got the following error in the error log:
        File does not exist: C:/Program Files/Apache
Group/Apache2/htdocs/aspnet_client, referer: http://localhost/Web/Login.aspx
        When I changed the line to:
                AliasMatch ^/aspnet_client/system_web/1_1_4322/(.*)
"C:/Windows/Microsoft.NET/Framework/v1.1.4322/ASP.NETClientFiles/$1"
        the error stopped appearing in the error.log file of Apache.
        The Login.aspx file checks the username and password against the set
in SQL Server 2K and sends the user to http://localhost/Web/default.aspx
        
          Snapshot from Access.log file:
            127.0.0.1 - - [28/Feb/2005:17:17:46 -0800] "GET /Web/Start.htm
HTTP/1.1" 200 860
            127.0.0.1 - - [28/Feb/2005:17:17:46 -0800] "GET /Web/Login.aspx
HTTP/1.1" 200 2775
            127.0.0.1 - - [28/Feb/2005:17:17:46 -0800] "GET
/aspnet_client/system_web/1_1_4322/SmartNav.js HTTP/1.1" 304 -
            127.0.0.1 - - [28/Feb/2005:17:17:46 -0800] "GET
/aspnet_client/system_web/1_1_4322/SmartNav.htm HTTP/1.1" 304 -
            127.0.0.1 - - [28/Feb/2005:17:17:46 -0800] "GET /Web/orange.GIF
HTTP/1.1" 200 6240
            127.0.0.1 - - [28/Feb/2005:17:17:52 -0800] "POST /Web/Login.aspx
HTTP/1.1" 200 2871
            127.0.0.1 - - [28/Feb/2005:17:17:52 -0800] "GET
/Web/default.aspx HTTP/1.1" 302 172
            127.0.0.1 - - [28/Feb/2005:17:17:52 -0800] "GET
/Web/Login.aspx?ReturnUrl=%2fWeb%2fdefault.aspx HTTP/1.1" 200 2811
    
        It shows that it successfully accessed the default.aspx file, but it
is sending it back to login.aspx
        I tried to run the website in debug mode using VS 2003 and Apache as
Webserver, but VS kept complaining that Webserver is running .Net version
1.0 and it 
            would convert my project  to version 1.0 from 1.1 (ASP.Net
compatibility).
 
Can any one figure out the problem?
 
Thanks
 
Kishore.