MiniVend Akopia Services

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

Re: ImageDirSecure doesn't work



******    message to minivend-users from Stefan Hornburg <racke@linuxia.de>     ******

Ryan Hertz <rhertz@gyb.baits.com> writes:

> I think I recall having to make a symbolic link, or something, from my
> 'secure' images dir to the insecure dir.  However, you could always use
> absolute URLs for the images and not worry about it.

Absolute URLs are not a good idea in my opinion, imagine you change
the server or something like that. Better tweak the web server
so it maps the URLs appropriate (Apache => mod_rewrite for example)
But his configuration is broken,

[...]

> >Variable    SECURE_SERVER   https://www.example.com
> >Variable    ORDERS_TO       example@cqc.com
> >Variable    IMAGE_DIR       http://www.example.com/

[...]

> >ImageDirSecure          __SECURE_SERVER____IMAGE_DIR__/

The result is https://www.example.comhttp://www.example.com/ !!

BTW, one could use the variables within the MiniVend pages !

Ciao
		Racke

-- 
LinuXia - Solutions of Cool Competence - Internetprogramming and more
D-30163 Hannover, Waldstra&#223;e 4, 0511-3941290 (http://www.linuxia.de/)
Come to the land of real computing where penguins and their friends
spread the word of Open Source which crushes windows instantly.
-
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


Search for: Match: Format: Sort by: