Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 05-05-2008, 06:33 AM
resellerhost resellerhost is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 1
Default Is it possible to run ASP under LINUX

To make ASP run under Linux, PHP script files are saved as ASP extensions and are redirected to the PHP interpreter. So it looks like the server serves ASP files, but these are actually PHP scripts.
Reply With Quote
  #2  
Old 05-05-2008, 06:48 AM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,040
Default Re: Is it possible to run ASP under LINUX

Quote:
Originally Posted by resellerhost View Post
To make ASP run under Linux, PHP script files are saved as ASP extensions and are redirected to the PHP interpreter. So it looks like the server serves ASP files, but these are actually PHP scripts.
Not sure if this is a question or statement but you cannot run Microsoft's version of asp on the HG servers. That is unless you get a windows dedicated server.

Strange.... this exact same post was here today also.....

http://forums.site5.com/showthread.php?p=128368
__________________
- David
Reply With Quote
  #3  
Old 05-05-2008, 12:41 PM
GatorWesley's Avatar
GatorWesley GatorWesley is offline
HostGator Staff
 
Join Date: Nov 2006
Posts: 1,088
Default Re: Is it possible to run ASP under LINUX

We have chilisoft ASP available which will run classic ASP/MySQL, but not ASP.NET, MSSQL or Access.
__________________
Wesley
Hostgator / SEOhosting
Reply With Quote
  #4  
Old 05-05-2008, 04:34 PM
GatorZach
HostGator Guest
 
Posts: n/a
Default Re: Is it possible to run ASP under LINUX

If I am correct, you want your PHP script to run as though it looks like .asp scripts, this is how you would do that, just put this in .htaccess in public_html folder.

Code:
AddHandler application/x-httpd-php5 .asp
AddType text/html .asp
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 03:32 AM.