[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: I am going crazy - Undefined Catalog!
Hi Shao,
Shao Zhang wrote:
>
> ****** message to minivend-users from Shao Zhang <shao@shaoz.dhs.org> ******
>
> Hi,
> I spend two full days on this already and I am still
> getting Undefined Catalog.
>
> Shouldn't we make this as a FAQ??? I searched the mailing
> list archieves, and this question has been asked for at
> least a thousand times. But None of the answers helped me.
>
> Please help me.... I am really frustrated......
>
> Here is the complete info:
>
> --------------------------------------------------
> /etc/apache/httpd.conf:
>
> <VirtualHost shao.penguinpowered.com>
> ServerAdmin shao@linuxfreak.com
> DocumentRoot /var/www
> ServerName shao.penguinpowered.com
> ErrorLog /home/shao/public_html/cgi-bin/error.log
> </VirtualHost>
>
> --------------------------------------------------
> /etc/apache/access.conf:
>
Do you have a
ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/"
For example, the installation script of Apache creates this:
<Directory "/usr/local/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
> <Directory /usr/lib/cgi-bin>
> AllowOverride None
> Options ExecCGI FollowSymLinks
> </Directory>
>
> --------------------------------------------------
> /usr/local/mvend/minivend.cfg:
>
> Catalog simple /home/shao/catalogs/simple >http://shao.penguinpowered.com/cgi-bin/simple /simple
You'd better to create
Catalog simple /home/shao/catalogs/simple /cgi-bin/simple /simple
>
> --------------------------------------------------
> head /home/shao/catalogs/simple/catalog.cfg
>
> Variable SERVER_NAME shao.penguinpowered.com
> Variable CGI_URL http://shao.penguinpowered.com/cgi-bin/simple
Variable CGI_URL /cgi-bin/simple
And you need to have simple cgi script in your /cgi-bin/ directory.
> Variable SECURE_SERVER http://shao.penguinpowered.com
> Variable ORDERS_TO shao
> Variable IMAGE_DIR /simple/images
> Variable DOCROOT /var/www
> Variable SAMPLEHTML /var/www/simple
> Variable SAMPLEURL http://shao.penguinpowered.com/simple
>
> #all others are left as default
>
> --------------------------------------------------
> tail /usr/local/mvend/error.log
>
> - - - [11/August/1999:17:26:20 +1000] - - STOP server (31084) on signal TERM
> - - - [11/August/1999:17:26:23 +1000] - - MiniVend V3.12
> - - - [11/August/1999:17:26:23 +1000] - - Config '_mv_admin' at server startup
> - - - [11/August/1999:17:26:23 +1000] - - Config 'simple' at server startup
> - - - [11/August/1999:17:26:24 +1000] - - START server (31149) (INET and UNIX)
> - - - [11/August/1999:17:26:24 +1000] - - Accepting connections from localhost|127\.0\.0\.1
> 203.63.219.44 - - [11/August/1999:17:26:30 +1000] - /cgi-bin/simple/noframes Undefined catalog: /cgi-bin/simple
>
> --------------------------------------------------
> shao:/usr/local/mvend$ ls -al /usr/lib/cgi-bin
> total 95
> drwxr-xr-x 2 root root 1024 Aug 11 17:00 .
> drwxr-xr-x 85 root root 13312 Aug 9 10:52 ..
> -rwxr-xr-x 1 root root 5185 Sep 22 1999 dsearch
> -rwxr-xr-x 1 root root 77 Aug 11 14:08 hello
> -rwxr-xr-x 1 root root 15132 May 19 17:57 helpindex
> -rwxr-xr-x 1 root root 17212 May 19 17:57 helpsearch
> -rwsr-xr-x 1 shao shao 38423 Aug 11 17:00 simple
>
> --
> ____________________________________________________________________________
> Shao Zhang - Running Debian 2.1 ___ _ _____
> Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
> University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
> Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
> Email: shao@cia.com.au |___/
> _____________________________________________________________________________
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
Have a nice day,
Alex