MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] How to call static pages?



On 14 Dec, zb wrote:
>   I've built static pages in /mypath/htdocs/simple/static. But I don't
> know how to use it. For example I have a page in
> /mycatalog/simple/pages/test.html.
> I can visit it by http://myhost/cgi-bin/simple/test, this is the dynamic
> page. 
> How can I visit static version of test.html? It seems that minivend
> doesn't send
> you static pages according to pagae/.static.
>   In test.html I have <FORM ACTION=test1 METHOD=POST>, Of cause
> pages/test1.html
> is a dynamic page. When visit dynamic version of test.html, above FORM
> will be converted to:
> http://myhost/cgi-bin/simple/test1?....
> but when visit static version, it will be converted to:
> http://myhost/simple/static/test1, which of cause not exist.
> 
> 
> TIA
> 
> zb

Hi zb (is this your real name?),

look into your catalog.cfg and look for

########### NoCache
NoCache	<anypage>
########### Static 
Static   Yes
########### StaticAll
StaticAll   Yes
########### StaticDepth
StaticDepth <Anydepth>
########### StaticDir
StaticDir   /mypath/htdocs/simple/static
########### StaticFly
StaticFly   Yes or No
########### StaticPage
StaticPage   <if StaticAll=NO which pages should be build static?>
########### StaticPath
StaticPath http://myhost/static ????  < The path (relative to HTTP document root>

and try ....Vendroot/bin/minivend -b <yourcatalogname>
Look the output. Maybe you get any hints!
Maybe you have to use the makecat and after that to restart your shop.


Good lucks!

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen         FAX: 0209 1671449



Search for: Match: Format: Sort by: