From: Dave A. <dav...@ct...> - 2001-04-20 14:00:17
|
> Hi, > > Please excuse that question of a non-coder. > I want to run Slashcode, but do not have a static IP-Address-Server at > > home. So I would like to put slashcode into the cgi-bin folder of an ISP> .. > You can save me a lot of time of researching, when you simply answer me > > the question, if that is possible or not (and, if possible, if it is > > sensible or not). > > Martin: I am one of the occasional contributors around here who took a previous version of the code and made significant modifications to it in order to get it to work in my environment. I wanted to get the code to work in a cgi-bin environment as well. It took several weeks of intense coding to change all of the things that needed to be changed for my environment. If I take what you are saying literally, all you want to do is to take the mod_perl specific code out of Slash and set it up to run as CGI scripts. This is not as difficult as what I was trying to do, but, you have a number of complicating factors that make success more uncertain. They are: 1) You are not a coder, by your own admission. 2) You imply that you cannot use mod_perl. This is an Apache module that allows you to embed the Perl interpreter in each part of the Web Server that serves Web Pages. Slash Version 1.x is harder to run outside the Apache and mod_perl context than previous versions. The main reason is because it uses more code that is dependent upon that specific configuration. I do not know enough about 2.x to make the same assessment. 3) You probably cannot run daemons or cron jobs on the ISP's Web Server. If all you can do is run CGI programs, you will not be able to run the daemons that execute in the background on the server. These are the programs that do housekeeping functions like generating static versions of the story pages. You could convert most of them to cron jobs (programs that run at specific times, which are somewhat easier to understand and control) relatively easily. But, the ISP probably won't allow that if it is not your own box. I hope that this explanation is helpful to you. If you have any followup questions, based on what I said, feel free to email me. Dave Aiello CTDATA |