mod_aspdotnet doesnt work help
Brought to you by:
wrowe
From: andrew b. <jag...@gm...> - 2008-03-12 10:20:15
|
Hi, I was told to ask experts here about a problem. If you can point me in the right direction then that will be appreciated. I cant get asp.net to work on windows apache2.05 . I have winxp home and i am using vb.net2003 . I download the file from sourceforge aspdotnet...2.0.0 and run the file and all i get is the module loaded and i edit the httpd.conf file to add the asp.net stuff 'on got froma website'. I have .net framework 3.5 and apache works fine and i have the relevant dir for asp.net web pages created. When i run the aspx file it doesnt pick it up but i dont get an error , i just get the html/aspx code output. I have the httpd file edited with aspx commands i need for this and where to load module etc ,the aspdot..so file in the module dir and run the download. here is what i add to the httpd.conf file and the mod-asp..exists in the dir #asp.net 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 mod_aspdotnet.cpp> # Mount the ASP.NET /asp application AspNetMount /SampleASP "F:/www/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 "F:/www/SampleASP" #maps /SampleASP request to "c:/SampleASP" #now to get to the /SampleASP type http://localhost/SampleASP #It'll redirect http://localhost/SampleASP to "F:/www/SampleASP" # Allow asp.net scripts to be executed in the /SampleASP example <Directory "F:/www/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 |