If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
TopDl & SSI, I get nothing  XML
Forum Index » Support Forum
Author Message
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!
[MSN] [ICQ]
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.
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 ??
[MSN] [ICQ]
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...
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?)
[MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum