ASP.Net allowed?

Status
Not open for further replies.

kristinb

New Member
Messages
1
Reaction score
0
Points
0
I was under the impression we could use ASP Pages on this hosting, but I didn't see anything in the Control Panel, and a test I did just failed - is there something I'm missing? Thx
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
You need to login cPanel and go to MIME Types under Advanced

Add the following MIME Type:Application: application/monoExtensions: .aspx .ascx .asax .ashx .config .cs .asmx .axd3. You should now be able to use ASP.NET on your site.
 

d0xaLic

New Member
Messages
2
Reaction score
0
Points
0
Where I can find the MIME Types?
I only have this at "advanced":

  • Apache Handlers
  • Image Manager
  • Index Manager
  • Error pages
  • Cron jobs
  • Frontpage extensions
  • Virus scanner

And what is the absolute path where my files are stored? Like C:\usr\d0xalic\file.txt
(because I need to access that...)

Thanks!!
 
Last edited:

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
Hmmm, weird... Because I have mime types, but I'm on the staff server tho...

I'll ask an admin when they come online, as I have no knowledge about asp and mime types as I have never needed to use them :S

With the absolute path, you could do a file with the content:

PHP:
<?php echo $_SERVER['DOCUMENT_ROOT']; ?>
and run it
 

epyx_snow

New Member
Messages
5
Reaction score
0
Points
0
It is possible to add new mime types in .htaccess files.
Add a .htaccess file in your webroot, ex. /home/username/public_html/yourdomainname/.htaccess , then add a line like
AddType application/rss+xml .rss to add the new mime type application/xml+rss for .rss files for that domain.
And isn't it the handler your suppose to change not the mime type? Since asp scripts run on the server to generate html(xhtml) code that should be delivered with the mime type text/html(application/xml+xhtml)?
 
Status
Not open for further replies.
Top