Author |
Message |
17/12/2002 02:27:44
|
SteinerKD
Beginner
Joined: 09/10/2002 07:14:36
Messages: 23
Location: Karlstad, Sweden
Offline
|
Hi!
I'm running TopDl for a site on a Apache 1.3 server under WinXP. When I include the js version of counters etc it works fine, but whenever I insert the SSI version I get nothing at all.
Do I need to config something in Apache for it to work?
I've renamed the pages that contains the SSI code to .shtm
I don't know what I'm doing wrong here so please help!
|
|
17/12/2002 06:09:13
|
jahwz
Beginner
Joined: 23/11/2002 09:04:40
Messages: 9
Offline
|
http://httpd.apache.org/docs/misc/FAQ.html#ssi-part-i
SSI must be enabled on the apache server, the link above is the 'official' method for enabling it.
|
|
17/12/2002 07:09:19
|
SteinerKD
Beginner
Joined: 09/10/2002 07:14:36
Messages: 23
Location: Karlstad, Sweden
Offline
|
Super!
That article helped a lot, enabled the Includes option for those dirs needing it and added .shtm to .shtml where needed.
Now it looks like it at least tries to do the SSI bit, but the output I get on the page is:
[an error occurred while processing this directive]
So now to fix that bit Any clues?
On a secondary note, which is generaly prefered and more safe? JS or SSI ??
|
|
17/12/2002 07:44:23
|
jahwz
Beginner
Joined: 23/11/2002 09:04:40
Messages: 9
Offline
|
well, I receive that same error on a server that my sysadmin assured me SSI was enabled on, but I assumed he was mistaken, maybe not...
anyone else have any ideas?
I use JS now to pull a top 100 and it is about as efficient as I could hope for, not sure though what the advantages/disadvantages of the two are though...
|
|
17/12/2002 07:52:09
|
SteinerKD
Beginner
Joined: 09/10/2002 07:14:36
Messages: 23
Location: Karlstad, Sweden
Offline
|
I solved it, it was a very simple and stupid misstake...
The path from the page to the script was topdl/status.pl
But I wrote /topdl/status.pl
Small difference it might seem, but makes all the difference.
If you have a Apache server you need to have the directory option "Includes" set for the dir where the page is in (And I asume "ExecCGI" set for where the script is).
And eh, don't forget to name the file .shtml (.shtm might work, but not always)
Now another odd thing.
download.pl tables show the number of DLs for the top file on the same line as the measure bar, for status.pl and js_status.pl the number of DLs for the top file is always placed below the bar, why??
(any fix?)
|
|
|