Prashant Singh Prashant Singh - 4 months ago 82
ASP.NET (C#) Question

Compiling an ASP program through Xampp

Can i use XAMPP apache to compile my ASP files. If so, please tell how ?

Any link or document will do



I am assuming that you have XAMPP and ASP Installer already installed

open up C:\xampp\htdocs\apache\conf\extra\httpd-xampp.conf

add this between the <IfModule alias_module></IfModule> tags

LoadModule aspdotnet_module "modules/"
AddHandler asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo 
<IfModule mod_aspdotnet.cpp> 
  AspNetMount /SampleASP "c:/xampp/asp_docs" 
  Alias /SampleASP "c:/xampp/asp_docs"
  <Directory "c:/xampp/asp_docs"> 
    Options FollowSymlinks ExecCGI 
    Order allow,deny 
    Allow from all 
    DirectoryIndex index.htm index.aspx 
  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 

Now restart your Apache server

Also you need to keep your asp files in C:\xampp\asp_docs