View Single Post
 
Old Sep 21, 2002, 06:42 AM
cralim cralim is offline
New Member
 
Member Since: Sep 2002
Posts: 2
Hi, I'm wanting to use POD with $pod_usequery=0 - ie to have requests in the ../pod/pod.cgi/Arts/Entertainment manner.

But for the life of me I'm juggling it around, and it just doesn't work for me, the error I get on the resulting page is:

POD encountered the following error while trying to run:
404 Not Found
Attempted retrieval URL: http://dmoz.org/pod/pod.cgi

I'm using v1.87, and here's the top part of my podvars.pm

## Name of your script. For example, 'pod.cgi' or 'dir'
$pod_progname="pod.cgi";

## URL path to your script (ie /cgi-bin/pod/)
$pod_urlpath="/pod/";

## Full path and script name
## Replace with
#$pod_fullpath="$ENV{'SCRIPT_NAME'}";
## to increase portability of the script. If you do this, you can
## ignore the settings of the two above variables.
$pod_fullpath="$pod_urlpath$pod_progname";

## To log searches, insert the full path and filename of your logfile
## into pod_logging. Comment it out for no logging (default)
#$pod_logging = "/home/lib/httpd/logs/pod_searches.log";

## Where your header.html and footer.html files are located
$pod_templatedir = ".";

## This variable changes the operation of the script drastically.
## If pod_usequery=1 then POD will expect to be called in the format
## of .../pod.cgi?dir=/Arts/Entertainment
## If pod_usequery=0 then POD will expect to be called in the format
## of .../pod.cgi/Arts/Entertainment
$pod_usequery=0;

Am I missing something - do I need a RewriteRule in the httpd.conf perhaps?

S.