From: Cor B. <co...@xs...> - 2003-07-11 12:39:23
|
Hi all, im currently setting up a small prototype to show slashcode possibilities to others in the company. Id like to use the Page plugin because we want to set up a main index that leads you into several sub sites. I got the Page plugin to work no problem, changing Apache's DirectoryIndex to run page.pl instead of index.pl. I also set up several sections that id like to reach through virtual hosts. That also work(ed) ok. Unfortunately, this stopped working ok as soon as I changed DirectoryIndex to page.pl. Then the sections were also handled by page.pl instead of index.pl (id like the sections to look more like the original slashcode stuff). I set up the sections like this: Type: Contained Section Issue Mode: Article Based URL: http://xxxxxx.xs4all.nl (one for each section) Hostname: xxxxxx.xs4all.nl (again one for each section) Indexhandler: index.pl (not quite sure what this does..) Is it possible to do what I want? If so, and I believe it is, what am I forgetting or doing wrong? As a seperate question, i noticed that when I view index.pl or page.pl my CPU usage rises dramatically. I fear what this is going to do on a loaded system. Ive got caching enabled. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command 5606 www-data 20 0 31640 28m 6320 R 89.1 3.2 0:10.00 apache Thanks for any help, Cor |