Code Monkey home page Code Monkey logo

mod_aspdotnet's Introduction

What is it?

This repo is migrated from mod_aspdotnet to support Apache 2.4 for my own purpose.

I'm not good at architecture on Apache and its module. My work is only to support for Apache 2.4 and .NET 4.0 or later.

You have to install appropriate modules for your environment as follows.

Apache Version mod_aspdotet .NET
2.0 mod_aspdotnet-2.0.0.msi CLR 2
2.2 mod_aspdotnet-2.2.0.2006-setup-r2.msi CLR 2
2.4 Release at this repo. (Or build for yourself) CLR 4

, which means this version only support ASP.NET within Apache 2.4 in cases of .NET 4.0 or later installation. If windows contains .NET 2.0 only, it won't work.

How to install

Release at this repo only contains two files

  • Apache.Web.dll
  • mod_aspdotnet.so

You have to install Apache.Web.dll into .NET 4.0 GAC(Global Assembly Cache) using gacutil.exe which is in Windows SDK or your Visual Studio installation folder.

For mod_aspdotnet.so, just copy to Apache modules folder.

At last step, you have to append configuration to your Apache httpd.conf. (Note that it is changed from mod_aspdotnet 2.2)


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>
    AspNetMount /aspdocs "c:/temp/xampp/aspdocs"
    Alias /aspdocs "c:/temp/xampp/aspdocs"

    <Directory "c:/temp/xampp/aspdocs">
Require all granted
    </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>

Apache.Web.dll and mod_asdpdotnet.so have dependencies on Microsoft Visual C++ Redistributable for Visual Studio 2017

How to build

You can build this solution in Visual Studio 2017. There is no prerequisites.

  • If you need to get binaries for Windows XP/2003, you have to install Visual Studio 2013 for Platform Toolset = 'v120_xp'.

Change Log

2.4 - Sep 3, 2017

Reqeuests or Contributing to Repository

As I said, I just migrated this repo for my private purpose. If you need some features or whatever, make an issue at https://github.com/stjeong/mod_aspdotnet/issues

Any help and advices for this repo are welcome. (I just know a few knowledge about .NET Framework and am a totally novice at Apache Server)

License

Apache License V2.0

(Refer to LICENSE.txt)

mod_aspdotnet's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.