| Web Hosting Forum Discuss web hosting related stuff. |
05-06-2008, 03:38 AM
|
#1 (permalink)
|
|
Junior Member
Join Date: 05-06-08
Posts: 1
Latest Blog: None
|
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.
|
|
|
05-06-2008, 09:10 AM
|
#2 (permalink)
|
|
Contributing Member
Join Date: 03-26-07
Location: layershift.com
Posts: 217
Latest Blog: None
|
Err... I don't understand the question?
Are you asking if MS ASP (VBScript / JScript) can be run on a Linux server, or just if you can run PHP pages with .asp filenames? The latter is extremely easy to achieve (although I'm not sure why you'd want to do this), whilst the former cannot be done AFAIK. There is something called Apache ASP but this is quite different and (to my knowledge) scripts are not cross-compatible between this and the MS variant.
__________________
Damien Ransome
Layershift :: DDS & Dedicated, UK & USA-based Managed Virtuozzo VPS, Reseller & Shared Hosting
Experienced Parallels Platinum Partners (Plesk since 2001, Virtuozzo since 2004)
|
|
|
05-06-2008, 01:47 PM
|
#3 (permalink)
|
|
Contributing Member
Join Date: 02-07-07
Posts: 112
Latest Blog: None
|
As far as I know LINUX hosting providers don't support ASP on their servers, however I am not sure that my answer is correct.
|
|
|
05-07-2008, 04:00 AM
|
#4 (permalink)
|
|
Junior Member
Join Date: 05-07-08
Posts: 1
Latest Blog: None
|
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.
|
|
|
05-07-2008, 04:14 AM
|
#5 (permalink)
|
|
Contributing Member
Join Date: 11-27-07
Posts: 546
Latest Blog: None
|
To be honest it is difficult to understand what you are talking about.Do you want to ask something or suggest?
|
|
|
05-07-2008, 04:48 AM
|
#6 (permalink)
|
|
Contributing Member
Join Date: 11-27-07
Posts: 546
Latest Blog: None
|
@OP that is the second post with the same content today on this forum.
|
|
|
05-07-2008, 05:58 AM
|
#7 (permalink)
|
|
Contributing Member
Join Date: 05-30-06
Location: Canada
Posts: 458
|
What are you trying to accomplish ?
a) *cheat* that your php scripts as ASP scripts
b) run ASP on your linux box ?
Slavi
|
|
|
05-10-2008, 09:20 PM
|
#8 (permalink)
|
|
Banned
Join Date: 09-20-07
Location: Canada
Posts: 413
Latest Blog: None
|
To answer first part of your question:
yes, you can have ASP on Linux based platforms
As to the rest of your question:
no, you cannot save .php as .asp and expect file to work
why would you want to save PHP as ASP to run it as PHP?
fastreplies
|
|
|
05-10-2008, 09:25 PM
|
#9 (permalink)
|
|
Banned
Join Date: 09-20-07
Location: Canada
Posts: 413
Latest Blog: None
|
yep, it sound like we have echo somewhere around here
fastreplies
|
|
|
05-12-2008, 06:00 AM
|
#10 (permalink)
|
|
Member
Join Date: 05-11-08
Posts: 33
Latest Blog: None
|
seems to be a double thread.
__________________
ePhase Networks LLC
Absolute Hosting Since 2007
|
|
|
05-12-2008, 08:58 AM
|
#11 (permalink)
|
|
Banned
Join Date: 08-14-07
Posts: 360
Latest Blog: None
|
I have heard about chiliASP, but has not seen many hosts offering it.
But you won't get all functionalities of MS ASP.
|
|
|
05-16-2008, 09:56 PM
|
#12 (permalink)
|
|
Contributing Member
Join Date: 03-17-07
Posts: 1,180
|
This is an interesting approach pal--running php with asp extension 
|
|
|
05-17-2008, 03:09 AM
|
#13 (permalink)
|
|
Junior Member
Join Date: 03-13-08
Posts: 4
Latest Blog: None
|
not sure if i follow but if you want to run ASP scripts on a linux box but then disguise as PHP, yes you can do this.
a) i offer hosting solutions where you can run both ASP and PHP on a linux server (pm me for details)
b) once you have a linux and ASP environment working, use htaccess to disguide *.asp to .php
|
|
|
05-19-2008, 03:58 PM
|
#14 (permalink)
|
|
Contributing Member
Join Date: 05-19-08
Posts: 57
Latest Blog: None
|
I don't think you can just change extensions and expect them to work. Since dynamic code like php or asp is created server-side and then displayed on the user's web browser, the server would need to be able to run .asp code. I think there is a component for linux servers to run .asp code (chili-soft or something) but I think that even has limitations.
|
|
|
05-19-2008, 04:17 PM
|
#15 (permalink)
|
|
Contributing Member
Join Date: 05-19-08
Posts: 57
Latest Blog: None
|
Yes, I just replied to the same post about this.
|
|
|
05-19-2008, 05:58 PM
|
#16 (permalink)
|
|
Contributing Member
Join Date: 08-21-07
Posts: 146
|
I already asked my friend to do just like your plan, it totally waste of our time :p
|
|
|
05-19-2008, 07:45 PM
|
#17 (permalink)
|
|
Contributing Member
Join Date: 05-30-06
Location: Canada
Posts: 458
|
You could also install mod_mono on your linux box and server ASP.
(This is not tested but should be part of the solution).
|
|
|
05-22-2008, 07:30 PM
|
#18 (permalink)
|
|
Contributing Member
Join Date: 04-11-08
Location: Eureka, CA USA
Posts: 105
Latest Blog: None
|
Quote:
Originally Posted by hostcp
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.
|
I wouldn't recommend it.
While there are various interpreters one could use on a LAMP server, they are never going to run efficiently, and there are many things one might need to do with a classic ASP application that these shells, such as ChiliSoft, can not emulate.
It's actually far easier to run LAMP native applictions in an Win environment than to run Win native applications in a LAMP environment.
If your classic ASP application is pretty simple, then you should be able to pull it off on a LAMP host, but if your application requires any advanced services, it's not going to be pretty and probably won't work.
To be a bit more technical on this, while shells like ChiliSoft can interpret classic ASP on a LAMP server, the LAMP server can't run various DLL's that your classic ASP application might require.
|
|
|
05-22-2008, 07:35 PM
|
#19 (permalink)
|
|
Contributing Member
Join Date: 04-11-08
Location: Eureka, CA USA
Posts: 105
Latest Blog: None
|
Quote:
Originally Posted by hostingcp
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.
|
http://www.v7n.com/forums/web-hostin...der-linux.html
|
|
|
05-26-2008, 03:49 PM
|
#20 (permalink)
|
|
Contributing Member
Join Date: 05-26-08
Posts: 112
Latest Blog: None
|
If you want to run asp why not just go for windows hosting. I am not if Linux will support all features of asp.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| LINUX |
AntNE00 |
Computers & Internet |
41 |
08-08-2006 06:37 AM |
All times are GMT -7. The time now is 11:35 PM.
© Copyright 2008 V7 Inc
|