View Full Version : ASP pages
thedoc
7th March 2006, 12:22
I have upgraded the apache to apache_asp and properly configured mod_perl for my server but when I go to an .asp page nothing shows in browser except code. Is there something I have to do in ISPconfig to activate the .asp server? Thank you for your reply.
if you would like to look at the page I am talking about the link is
http://diamondnights.no-ip.org/wedding.asp
Front page extensions have been enabled on web
till
7th March 2006, 12:29
ISPConfig has no builtin asp support. I guess you will have to add some directives to tell apache which module shall parse asp pages. You can add them in the apache directives field of the website and ISPConfig will add them to the vhost configuartion of the website.
falko
7th March 2006, 14:35
I think you have to enable mod_mono in your Apache, and then in ISPConfig's Apache Directives field you must add something like
MonoApplications default '/:/srv/www/web10/web'
MonoDocumentRootDir '/srv/www/web10/web'
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
Of course, you must change the paths.
Also have a look at this thread: http://www.howtoforge.com/forums/showthread.php?t=1177
thedoc
8th March 2006, 16:59
Okay I got asp to work on the server but I can not for the life of me figure out how to set up the virtual host config file. It says something about a .webapp file and shows and example, but call me stupid, I can't make heads or tails of it. And if I was able to create it what would I call it and where would I put it. Their instructions are vague for someone who is having his first experience with ASP-net. I appologize for my stupidity but is there anyone here who can help me with this config file. A layman's explaination would be wonderful. Thank you very much for any help you can give me.
falko
8th March 2006, 21:45
Can you quote the parts from the documentation that cause you problems?
thedoc
9th March 2006, 01:09
The format of the .webapp files used for --appconfigfile and
--appconfigdir is:
here is the sample .webapp file
<web-application>
<name>Root</name>
<vpath>/</vpath>
<path>/home/mono/public_html/html</path>
<!-- vhost and port are ignored in xsp.exe -->
<vhost>my.host.name</vhost>
<vport>8080</vport>
<!-- <enabled> is true by default -->
<!-- <enabled>false</enabled> -->
</web-application>
You can include any number of <web-application> nodes, one per
ASP.NET application to run.
This is for the virtual server. Okay what goes here and what do i name it and where do i save it to?
Then after doing this what directives to i put into the Virtualconf file? I tried duplicating what i had to put into the httpd.conf but all that did was disable the .aspx pages. So I know that was wrong. Thank you again for your help. I am sure this is simple and maybe I don't understand it because I'm trying to read too much into it. Darn I feel stupid.
till
9th March 2006, 09:29
I'am not sure if everyone in this thread is talking about the same things.
In your initial post, you talked about setting up asp with the perl based asp server. These files have the ending .asp.
Falko posted some instructions for asp.net, that is the mono (.NET) based system for running asp.net and not asp pages. The file ending for these pages is .aspx and this ais a completely different technology.
Now the question is, do you want to run asp (.asp) pages or asp.NET (.aspx) pages?
thedoc
9th March 2006, 20:14
.ASP pages is what I really wanted to set up. The .aspx was a second alternative. Either way I can't get either to work on my website. How do I enable .asp. Front page is installed and enabled for the site but the extensions do not seem to be working properly. Thank you again
thedoc
10th March 2006, 14:32
I think I may have been wasting your time. I have apache-2.0.54 installed. Front page will not work with that version of apache and your software will it? Thank you again for your reply.
falko
10th March 2006, 16:34
I think I may have been wasting your time. I have apache-2.0.54 installed. Front page will not work with that version of apache and your software will it? Thank you again for your reply.
We've tested Frontpage Extensions only with Apache 1.3. I don't know if it works with Apache2. :confused:
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.