Search Members Help

» Welcome Guest
[ Log In :: Register ]

 

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Apache + ASP = heaven.< Next Oldest | Next Newest >
 Post Number: 1
damien_s_lucifer Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 33
Joined: Jan. 1970
PostIcon Posted on: Aug. 03 2001,03:42  Skip to the next post in this topic. Ignore posts   QUOTE

I just installed mod_perl and Apache::ASP on my linux box0r.

This means that IIS - Internet Intruder Services - will soon be out of my life forever

This message has been edited by damien_s_lucifer on August 03, 2001 at 10:43 PM

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 2
MattimeoZ80 Search for posts by this member.
Purveyor of Untimely Wisdom
Avatar



Group: Members
Posts: 397
Joined: Nov. 2000
PostIcon Posted on: Aug. 03 2001,23:33 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

asp is microsofts gay server side programming language that they only make for iis. php has been able to do everthing i need, and when you pair it with mysql who needs asp/sql server?
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 3
DeadAnztac Search for posts by this member.
I am almost one of Us.
Avatar



Group: Members
Posts: 0
Joined: Feb. 2001
PostIcon Posted on: Aug. 04 2001,03:51 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

That's what I do man. I write a class for interactions with the MySQL dB, then everythings insanely simple from there.

------------------
~Anztac [ I'm just this guy, you know? ]

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 4
DeadAnztac Search for posts by this member.
I am almost one of Us.
Avatar



Group: Members
Posts: 0
Joined: Feb. 2001
PostIcon Posted on: Aug. 04 2001,05:15 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

I have a question, what's ASP like when you compare it to, say PHP? I've always wondered. I personally know PHP (I'de say) very well. So I'm just curious what makes alot of people use ASP.
------------------
~Anztac [ I'm just this guy, you know? ]

This message has been edited by DeadAnztac on August 04, 2001 at 12:16 PM

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 5
incubus Search for posts by this member.
mack daddy
Avatar



Group: Admins
Posts: 1316
Joined: May 2000
PostIcon Posted on: Aug. 04 2001,05:33 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

I tried to get apache asp to work about a year ago. it was a nightmare. has it got any better?

Anztac: a lot of ms products use it.

------------------
-- incubus
As I chase the leaves like the words I never find ...

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 6
damien_s_lucifer Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 33
Joined: Jan. 1970
PostIcon Posted on: Aug. 05 2001,01:49 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

anztac, if you already have PHP installed and know it well, there is probably little reason to move to Apache::ASP. The big reason for me is that with Apache::ASP I can write server-side scripts in Perl & use my exisiting Perl libraries. Also, I have a lot of pages that currently run under IIS (no, I didn't design them. I have never and will never used IIS on a project of my own). I need a way to easily port these pages to Linux + Apache.

The big difference between ASP and PHP is that ASP isn't a language. It's just a way to tell the server what parts of a document are code and what parts are HTML. It allows different languages to be used (at least on M$ platforms) and adds a basic API for working with the Web server.

incubus, the hardest part of getting Apache::ASP to work is getting mod_perl installed - they don't make it very clear in the documentation that mod_perl needs to be compiled into Apache for it to work. But once it's properly installed any Perl scripts that you have haul ass - my lil' Graffiti Wall script went from a 5 second response time to virtually none. mod_perl is worth it even without ASP

This message has been edited by damien_s_lucifer on August 05, 2001 at 08:53 PM

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 7
RenegadeSnark Search for posts by this member.
Old School
Avatar



Group: Members
Posts: 534
Joined: May 2000
PostIcon Posted on: Aug. 05 2001,08:54 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Hah. Right now, web server engineers are facing one hell of a challenge - security in multi-user environments with server side modules like PHP or mod_perl. Here's what I mean:

If I write a standard cgi script, I can set the permissions for that script in such a manner that no-one can read it or execute it but my own username, and that's ok, because apache has su_exec. I'd want to do this because things like mysql passwords could be contained in the script.

If I write a PHP script, though, Apache doesn't start a separate process to manage each PHP script. This is a problem because you cannot chroot() or setuid(). Thus, PHP scripts run as <insert your apache username>. Thus, if I'm on an ISP, I can write a PHP script to read fred's Mysql password out of his PHP script.

There is a minimal solution to the problem -- php Safe mode -- but that seems to need quite a bit of work before I call it industrial grade.

mod_perl will increase performance of software execution a lot at the cost of the standard security model. Makes me wish there was a better way to start "jail threads" - since mod_perl just leaves a bunch of perl interpreters laying around for all of the scripts, it could be done in a jail thread that was chrooted and setuid'd.

Offline
Top of Page Profile Contact Info 
 Post Number: 8
DeadAnztac Search for posts by this member.
I am almost one of Us.
Avatar



Group: Members
Posts: 0
Joined: Feb. 2001
PostIcon Posted on: Aug. 05 2001,19:17 Skip to the previous post in this topic.  Ignore posts   QUOTE

Thanks Damien, didn't know that =)

------------------
~Anztac [ I'm just this guy, you know? ]

Offline
Top of Page Profile Contact Info WEB 
7 replies since Aug. 03 2001,03:42 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


 
reply to topic new topic new poll

» Quick Reply Apache + ASP = heaven.
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code