Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.Net

Status
Not open for further replies.

Pegasus3245

Technical User
Joined
Mar 18, 2008
Messages
5
Location
GB
Hi, im trying to get ASP.Net working on my apache 2.2 webserver running the mod_aspdotnet 2.2. The config I have used is:-

#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 "c:/Server"
#/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 "c:/Server"
#maps /SampleASP request to "c:/SampleASP"
#now to get to the /SampleASP type #It'll redirect to "c:/SampleASP"

# Allow asp.net scripts to be executed in the /SampleASP example
<Directory "c:/Server">
Options FollowSymlinks ExecCGI
Order allow,deny
Allow from all
DirectoryIndex index.html 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/v1.1.4322/ASP.NETClientFiles">
Options FollowSymlinks
Order allow,deny
Allow from all
</Directory>
</IfModule>
#asp.net


However, when I attempt to view an ASPX page by doing im getting the error
[Wed Mar 26 16:37:51 2008] [error] [client 127.0.0.1] mod_aspdotnet: No AspNetMount URI for request: /test.aspx

Any help would be greatly apreciated, as I am pulling my hair out trying to get this working.

Kind Regards
Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top