is ISAPI for all cgi or pl scripts or specific types?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Esstee
-


Joined: 25 Jun 2005
Posts: 4

PostPosted: Sun Jul 31, 2005 5:51 am    Post subject: is ISAPI for all cgi or pl scripts or specific types? Reply with quote

I read about the speed enhancements ISAPI provided by keeping things in
memory instead of reloading them and the idea seemed very exciting.

When I installed it as per instructed in the tutorial in the help section none of
my .pl scripts ran.

So I wanted to know if this is for specific types of scripts or not?
as well as with the php ISAPI, I wondered if it would improve the performance
of my vBulletin software or not.

thx in advance for your help.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Jul 31, 2005 6:12 am    Post subject: Reply with quote

I haven't tested ISAPI with .pl scripts but there is something you should know
when using ISAPI with PHP , some variables maybe missing such as the one's
that Abyss Web Server provides for its console settings. Also ISAPI can cause
the web server to crash since it becomes a part of the server process.

The best thing to do for your Vbulletin software is to use Gzip. You can easily
add Gzip Compression to every PHP file by editing your php.ini file. Just open
your php.ini file located in C:\Windows or C:\Winnt and do this.

Create gzip.php , put it in your htdocs
Code:

<?php
ob_start("ob_gzhandler");
?>


Now in your php.ini file , edit this directive and change the path to your
Abyss Web Server folder if this is not correct. This will add Gzip to all of
your PHP files so every Vbulletin PHP page will be compressed.

php.ini [PHP's Configuration File]
Quote:

auto_prepend_file = "C:/Program Files/Abyss Web Server/htdocs/gzip.php"


Note: You can also add .htm and .html pages as a PHP extension and
add Gzip Compression to those files as well , I already do that. LateR!

Sincerely , TRUSTpunk
Back to top View user's profile Send private message Visit poster's website
Esstee
-


Joined: 25 Jun 2005
Posts: 4

PostPosted: Sun Jul 31, 2005 6:32 am    Post subject: Reply with quote

Wow thanks for this info.

I wondered about GZIP and since I have a fast machine it could improve things
immensly :thumbsup:

I alreadu installed the ASAPI-PHP but I will withdraw it, I noticed some differences and error codes when trying to install my vBulletin script as opposed
to the plain php engine.

Also is there a newer MySQL tutorial than the one on this forum?
I noticed it was dated 2003 and there have been many revisions in MySQL for
windows since then, also following it there are gaps in the walkthrough probably
due to the changes...

I could of sworn some person had made another set of turorials around here
it was on another site or something.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Jul 31, 2005 6:38 am    Post subject: Reply with quote

I provide a wide variety of my own tutorials. You can visit my website
for a newer MySQL version tutorial and find other great tutorials on it.

My Website: http://www.trustabyss.com

Sincerely , TRUSTpunk
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Jul 31, 2005 2:21 pm    Post subject: Re: is ISAPI for all cgi or pl scripts or specific types? Reply with quote

Esstee,

Can you please be more explicit about "doesn't work"? Abyss Web Server provides various log files to track errors and especially with ISAPI. So they may probably help you locating the problem or we may check them for you.

Have you tried with basic Perl script? Have you set the Interprter type to ActivePerl ISAPI?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Esstee
-


Joined: 25 Jun 2005
Posts: 4

PostPosted: Sun Jul 31, 2005 2:24 pm    Post subject: Reply with quote

Thank you, those would be the ones I was refering to :)

BTW DO I need to install gzip on my machine or anything before I implement
it on my abyss webserver config? I'm just wondering because I did a search and
I didn't find a gzip app anywheres on my machine.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Jul 31, 2005 7:13 pm    Post subject: Reply with quote

PHP has built in Gzip support so you can easily add Gzip to Abyss Web Server.
My website is so fast all the time because I use Gzip Compression every day.

Sincerely , TRUSTpunk
Back to top View user's profile Send private message Visit poster's website
Brian Jester
-


Joined: 27 May 2005
Posts: 33
Location: http://141.150.123.197 (Testing server)

PostPosted: Fri Aug 12, 2005 6:07 pm    Post subject: adding Gzip compression to html files Reply with quote

Hi Trust,

Can you explain how to add the .htm and .html pages as a php extension as you state below:

Quote:

Note: You can also add .htm and .html pages as a PHP extension and
add Gzip Compression to those files as well , I already do that. LateR!

Sincerely , TRUSTpunk


I tried looking on the forum first, but your post was the only one I found that explains this, but I don't know where to add it.

Thanks.
-Brian
_________________
Like everything and have *almost* no problems!

Http://www.brothersvarietystore.com

-Brian
Back to top View user's profile Send private message Send e-mail Visit poster's website
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Fri Aug 12, 2005 7:04 pm    Post subject: Reply with quote

In the same way you set up PHP as described here :

http://www.aprelium.com/abyssws/php.html

Just add htm and html as "Associated Extensions" for the PHP interpreter (step 7 in the "Declare the Interpreter" section from the document above.
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group