|
 |
|
|
 |
|
|
I did try the cassini + apache stuff but didnt quite work so i googled for a while and found another solution to this issue.
Apache released a mod por the server called cli which handles asp.net pages very well. Here is the url. The documentation is very simple just add a few lines and it works.
http://httpd.apache.org/cli/
Example: 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
AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)" \ "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
Options FollowSymlinks Order allow,deny Allow from all
AspNetMount /app-uri "C:/path/to/app" Alias /app-uri "C:/path/to/app"
Options FollowSymlinks Indexes Includes ExecCGI Order allow,deny Allow from all DirectoryIndex default.htm default.aspx
ENJOY!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I tried it, but when I try to access by IE 6.0 it shows this message error:
Server Error in '/expansiva' Application. --------------------------------------------------------------------------------
The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested Url: /expansiva/Entrada.aspx
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Do you know why it is happening?
thanks...
Lucas
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
The fantastic guys at the Mono project have alraedy created a module for apache you can find it here:
http://www.go-mono.com/asp-net.html[^]
If you wanted to you could easily recompile it for Microsoft .NET instead of Mono if there is any need to, but I imagine if you are using apache you'd almost preffer to use mono as your .NET provider.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
I got a naked XP Pro System w/ Xampp. No Firewalls and no other software running.
I didn't make Cassini run on any port. No matter which port I use, Cassini tells me that this port is used by another server.
Any ideas?
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
I am trying to run Apache 2.0 on Win XP Home + Cassini for ASP.NET pages.
At step (3) in the basic instructions on this page, I get a similar message to the one described at the beginning of this post:
<< Cassini Managed Web Server failed to start listening on port 8080. Possible conflict with another Web Server on the same port. >>
Any idea if this is the same issue? If so, what does it mean to add the cassini.dll to the global assembly? Is the global assembly like the Windows path? Or something else entirely?
Thanks, George
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I had trouble installing Cassini. I ran the build.bat from the Start-Run menu, but it didn't successfully run gacutil. Another reply had mentioned that gacutil doesn't always work, and suggested copying the cassini.dll to the c:\WINDOWS\assembly directory (this is the directory name if you are using Windows XP). I couldn't copy/paste the file, but I was able to tag and drag it to the directory.
That took care of the gacutil problem.
The next problem I ran into was that IIS needed to not be running. It can be turned off from the Apache-Services menu. (Or, Control Panel-Administrative Tools-Internet Information Services, IIS).
I needed to fill in the blanks on the Cassini panel with: Application: c:\inetpub\wwwroot port: 8080 (port 80 didn't work for me, conflict) Virtual Root: /
This worked for me, I could click on the link for the localhost and see the files I'd copied to the inetpub/wwwroot directory. I could click on an aspx file, and the aspx page did work correctly.
I needed to have IIS stopped, and Cassini started, to create a new project in Visual Studio.NET.
Unfortunately, in my attempts to get stuff working, I messed with the virtual directories and their file permissions ... now I can't get Cassini to run the aspx files anymore.
Anyone know how to set the permissions correctly?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
For what it's worth, we got it up and running. The trick is to run the gacutil command in the VS.NET command prompt utility to register the Cassini dll in the global assembly cache. Afterwards, everything worked fine. This whole approach is a bit of a hack, obviously. The cleaner approach is to use the Apache CLI library. If you're running a 1.3 production version, you can install 2.0 side by side and run the CLI on it.
Cheers,
Greg
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
could you plz explain #3 in a little more detail? I'm not really familiar with Apache server yet, but I'm getting there. where exactly do I put this line:
c:\path-to-cassini\CassiniWebServer "c:\path-to-asp.net-sourcefiles" 8080
in what file?
-Paul
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
sorry for the confusion. i now understand that the line i typed in the previous post is to be typed at a command prompt, but i'm still unsure as to what "Create a different catalog (not the /aspnet catalog in http.conf) for your ASP.NET files " is asking me to do. thanks.
-Paul
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I recently completed an apache module that wraps asp.net and the .net framework. This allows apache to serve .aspx pages natively, w/o IIS or Cassini, etc. It works great.
I am wondering if there is any interest out there for such a beast.
Please send me an email with your opinions.
Jake Helfert jake@helfert.cc
|
| Sign In·View Thread·PermaLink | 1.67/5 (3 votes) |
|
|
|
 |
|
|
hai JAke i am using apache 1.3 on windows. can u pls tell me how to configure apache to process asp.net applications.
i am not using cassini web server.
pls help me in configuring this
thanks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hello,
im very interested at this module. is it available for download somewhere? Is the source available too?
Alex
|
| Sign In·View Thread·PermaLink | 3.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
Don't you just hate when people show up, drop something like this on us, then disappear and don't answer their emails? *sigh*
Support your local gravity testers -- Skydive!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
Well, I'm a natural blond and have blond moments all the time. 
Yes, you can run this on a w2k Pro or a XP Pro (any 'platform' supported by the .NET framework).
btw: saw your teddy bear - she(?) is a tough one 
br, Per
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
so apache can't run asp.net without cassini running. if so then what is the advantage?
can I write asp.net and php in same website?
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
The advantage as I see it, resides in the freedom to *not* use IIS 5 and this translates in be able to use an older Windows version (supported by the .NET Framework). As far as I know Windows XP Home doesn't have IIS as an install option (without some dark hackings) and you can't upgrade IIS 4 from your Windows2000 to IIS 5. Besides I assume that the IIS that comes with Windows XP Pro is more like the one that came with Windows 2000 Pro, kind of a watered down version with tendencies to PWS. Microsoft will probably encourage you to get Windows 2003 Server for production deployments which is too expensive and inmature for my taste.
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |