logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: apache and asp.net help!
Author
jagguy



Joined: 12 Mar 2008
Posts: 2

PostPosted: Wed 12 Mar '08 7:38    Post subject: apache and asp.net help! Reply with quote

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
Code:



#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
[/code]
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Wed 12 Mar '08 10:07    Post subject: Reply with quote

I think you can find help on the mailing lists of mod_aspdotnet

http://sourceforge.net/mail/?group_id=175077
Back to top
jagguy



Joined: 12 Mar 2008
Posts: 2

PostPosted: Wed 12 Mar '08 13:20    Post subject: Reply with quote

ok i have tried but there isnt many people on the thing.

someone must have done this before here.
Back to top


Reply to topic   Topic: apache and asp.net help! View previous topic :: View next topic
Post new topic   Forum Index -> Apache