please tell how to run .asp script on this hosting.
please tell how to run .asp script on this hosting.
you need to use mod_mono and add file handlers for the .asp, .aspx, etc types in the root htaccess. I've never done this myself, but there are a couple of good threads on it if you do a search.
gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer
I could not understand that what exactly to be done in .htaccess I set mod_mono to .asp & .aspx by Apache handler but it is not working.
http://forums.x10hosting.com/free-ho...-use-mono.html
I think it's just cpanel, not htccess, sorry.
gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer
Thanks for reply,But There is no button for MIME Type in cpanel there is a button for Apache handler only.I set mod_mono & application/mono to .asp & .aspx by Apache handler but it is not working.
You need to add this to the htaccess:
BTW, ASP doesn't work. Only ASP.NET.Code:AddType application/mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
Last edited by xav0989; 03-15-2009 at 11:16 AM.
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
I wrote this line in the .htaccess in the public_html AND added
Mime Type: application/mono
Extension(s): .aspx .ascx .asax .ashx .config .cs .asmx .axd in the cPanel
AND it definately DOESN`T ****ING WORK!!!!
What, exactly, isn't working? Is the page not being interpreted by Mono? Are you getting error messages? Please post a minimal test case and a link to a live page.
Without the above information, it's impossible to tell what isn't working.
I am sorry but ASP is not supported by X10hosting, only ASP.NET using Apache mono handlers. If you want to run ASP (I would recommend upgrading to asp.net), then you should seek out hosting that uses IIS on a Microsoft platform.
It is asp.net!
As I wrote I added the mime types in the htaccess and in the cpanel BUT still the browser wants to download the aspx.Site...