[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Newbie having install probs
****** message to minivend-users from Sergio Polini <s.polini@mclink.it> ******
"S. Salter" wrote:
>
> ****** message to minivend-users from "S. Salter" <ssalter@tisbook.com> ******
>
> Hi,
>
> New to minivend and to the list. Gone through the faq and docs (to a point)
> but cannot get the /simple demo running.
I'm a newbie too, but I got the demos running :-)
> doc root is /usr/local/www/htdocs
> cgi root directory is /usr/local/www/htdocs/tools
> minivend dist in /usr/local/www/htdocs/tools/mvend
> installed it to /usr/local/www/htdocs/tools/vend
At first: please, do _not_ leave your tests on your production server !!!
Do _not_ install MiniVend in the document space of your http server !!!
Do _not_ make your script directory a subdirectory of your document root !!!
As far as I can undestand:
- your server is Stronghold 2.0.1 (Apache 1.2.0); it should be updated :-)
- in your httpd.conf:
-- you have left "Option Indexes" in <Directory /usr/local/www/htdocs>
-- "ReadmeName README" is not commented out;
- "fp" is more careful than "gp" :-)
- etc. etc. :-))
No good.
I would suggest:
- DocumentRoot "/usr/local/www/htdocs" # why not?
- <Directory "/usr/local/www/htdocs">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
- ScriptAlias /tools/ "/usr/local/www/cgi-bin/"
- <Directory "/usr/local/www/cgi-bin">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
- minivend dist: /usr/local/src/minivend-<version>
- minivend installation directory (VendRoot): /home/minivend/mvend
> I did the manual perl tlink thing to get that working.
I didn't need that.
> httpd.conf is in /usr/local/www/conf
> server name is www.tisbook.com
> DemoType is simple
> mailOrderTo is tisbook
Why not webmaster@tisbook.com ?
> CatRoot is /usr/local/www/htdocs/catalogs/simple
"/home/minivend/catalogs/simple" would be much better :-)
> CgiRoot is /usr/local/www/htdocs/tools (tools dir allows cgi executables)
"/usr/local/www/cgi-bin" would be much better too.
> CgiUrl is /tools/simple.cgi (ASSUMEing I want a cgi program name?)
"simple" (w/o ".cgi") is enough, since you have your own CGI directory.
> Aliases is /simple
> DocumentRoot is /usr/local/www/htdocs
> SampleHtml is /usr/local/www/htdocs/simple
> ImageDir is /usr/local/www/htdocs/simple/images
> ImageUrl is /simple/images
> using UNIX mode with no cgiwrap or suexec
> using MySql and the database IS created
>
> after process is done I get this URL to test things:
> http://www.tisbook.com/simple
>
> but, the "Enter" link on that page is defined as:
> http://www.tisbook/com/tools/simple/index.html
>
> that doesn't exist.
> What didn't I define properly?
>
I'd reconfigure your http server and install MiniVend again from scratch :-)
HTH
Sergio
--------------------------------------------------------------------
Sergio Polini "The box said
e-mail : s.polini@mclink.it `Requires Windows 95, NT or
PGP key: http://pgp5.ai.mit.edu better.' So I installed Linux."
--------------------------------------------------------------------
-
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