Akopia Akopia Services

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

Re: [mv] SECURE SERVER PROBLEM!!!! HELP



******    message to minivend-users from jojo@buchonline.net     ******

On  4 Apr, Paul Burden wrote:
> ******    message to minivend-users from "Paul Burden" <paul_burden@tribalinternet.co.uk>     ******
> 
> I went and recreated the problem.
> 
> CREATED TEST.PL in www/cgi-bin/test.pl
> CREATED TEXT.TXT in /home/langdale/catalogs/test/pages/test.txt
> 
> --CGI TEST PROGRAM--------
> print "Content-type: text/plain\n\n";
> print "HELLO WORLD";
> 
> if (!open (FILE, "../../catalogs/test/pages/test.txt")) {
>  print "\n<BR>Error:$!";
> } else {
>  while (<FILE>) { print $_; }
>  close(FILE);
> }
> exit;
> --CGI TEST PROGRAM--------
> 
> Ran the pl program using the secure link, the error pop up permission
> denied.  "https://langdalemodels.com/cgi-bin/test.pl";
> 
> I checked the file.
> [langdale@host catalogs]$ cd /home/langdale/catalogs/test/pages
> [langdale@host pages]$ ls test.txt -all
> -rw-r--r--   1 langdale langdale       12 Apr  4 09:11 test.txt
> 
> 
> I believe this is what is wrong.  Does this mean apache may need
> reconfiguring?  What is that to get test.txt visible to the test.pl program.

Paul,

with your test.pl, _I_ get 

HELLO WORLD
<BR>Error:Permission denied

too!!!

You _canīt_ get any files like this, because the visitor is not the
owner of this files. The visitor isnīt the minivend user. If the file
test.txt _is_ in your www/html directory beside of your index.html, this
would work. In my case, i get

----snipp-------
HELLO WORLDHi Paul,

this is my test.txt and this message is comming from the file test.txt.

Once more...did you ask your ISP for helping you?

Joachim
----snipp-------

if the file test.txt is like
----snipp-------
Hi Paul,

this is my test.txt and this message is comming from the file test.txt.

Once more...did you ask your ISP for helping you?

Joachim
----snipp-------

It works with SSL too.

Regards,

	Joachim

HINT: 
Please, ask your ISP! If your ISP is capable, he would solve it for you.


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

-
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: