View previous topic :: View next topic |
Author |
Message |
Madicken -
Joined: 04 Feb 2008 Posts: 3
|
Posted: Mon Feb 04, 2008 5:58 pm Post subject: Help |
|
|
Before anything else, I'd like to give Aprelium my dearest thanks for this amazing piece of software :)
You see, I have absolutely no knowledge of PERL or PHP whatsoever, in fact, the way they function is still very abstract to me, but I need to get a couple of things going and I can't figure out how.
I'd need to know how to allow single CGI (*.cgi, *.pl) and PHP (*.php) scripts to handle a certain number (e.g. 60) of simultaneous connections/threads from the same IP for an indefinite period of time.
Remember my knowledge on the subject is next to unexistent, so in case possible, it would be quite handy if you could tell me exactly what files to edit, where to find them, what to change, etc, etc.
PD: CGI and PHP scripts are working ok here with the latest freeware version of Abyss Web Server thanks to the official tutorials, it's just that I have to overcome these apparent default limitations.
Thanks in advance. |
|
Back to top |
|
|
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Mon Feb 04, 2008 11:33 pm Post subject: |
|
|
You can have as many scripts running as your computer can handle, you would want to use FastCGI though. _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
|
Madicken -
Joined: 04 Feb 2008 Posts: 3
|
Posted: Tue Feb 05, 2008 3:00 am Post subject: |
|
|
Sorry but I don't need to have more than 2, a CGI and a PHP. Did you get the whole idea of my post or I'm missing something big time? |
|
Back to top |
|
|
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Tue Feb 05, 2008 5:26 am Post subject: |
|
|
I understood your post...I meant you can have as many of the same script running at the same time. You can also have many scripts. You don't need to do anything to your scripts to run them many times simultaneously. I would recommend you use FastCGI with PHP to handle requests faster. Your CGI app will have to use plain CGI unless you can modify it to work with FastCGI.
If you're worried about the time it takes to process the script you could raise the timeout. _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
|
Madicken -
Joined: 04 Feb 2008 Posts: 3
|
Posted: Tue Feb 05, 2008 6:05 am Post subject: |
|
|
No, you did not understand, but it's very likely that what I asked doesn't even make sense so... :) |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Feb 05, 2008 6:30 pm Post subject: Re: Help |
|
|
Madicken,
You cannot do that easily without adding some code to your scripts to limit their number when they are executed in parallel. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
jimmyolsen -
Joined: 11 May 2008 Posts: 1
|
Posted: Sun May 11, 2008 2:08 am Post subject: |
|
|
As aprelium stated, having a cgi that will handle multiple connections (read,
threads) is a coding issue not a server issue. In fact, since you said that the
cgi and the php scripts would be running indefinitely, it sounds like those
scripts *are* servers of some sort; listening constantly for new requests.
Anyways, it's a code issue and not one that is easy to implement.
J. _________________ blackhatseo |
|
Back to top |
|
|
|