Koozali.org: home of the SME Server

PDF Displayed in browser

Garret

PDF Displayed in browser
« on: September 02, 2002, 02:24:35 AM »
I feel like a dunce with this one. I am running a web app (myPHPNuke) within an ibay, we have placed a PDF file in the ibay also, and linked to it from myPHPNuke. The problem: The browser says it can't find the PDF file. Do I have to do something special here to make this display?

Thanks

chris meredith

Re: PDF Displayed in browser
« Reply #1 on: September 02, 2002, 06:40:21 AM »
Did you set the permissions on the PDF?  What does your Apache log file say?

Garret

Re: PDF Displayed in browser
« Reply #2 on: September 02, 2002, 07:38:34 AM »
Hey chris,

permissions are fine, logs say the file does not exist.

needles to say, I'm very confused.

Garret

SalaTar

Re: PDF Displayed in browser
« Reply #3 on: September 02, 2002, 09:15:05 AM »
Nix is case aware.
just a thought

Cyrus Bharda

Re: PDF Displayed in browser
« Reply #4 on: September 02, 2002, 10:15:24 AM »
Might be because its looking for the files in the /home/e-smith/files/primary/html dir? But then again, I'm just a stoopid noobie :-) .

Cyrus

Garret

Re: PDF Displayed in browser
« Reply #5 on: September 02, 2002, 05:42:23 PM »
Yep on the *nix aware, nope on the primary directory. I'll try another pdf.

Garret

Garret

Re: PDF Displayed in browser
« Reply #6 on: September 02, 2002, 06:14:39 PM »
tried another pdf, it shows as file not found also. :-(

Anybody else tried this on their webserver?

Lasse Johansson

Re: PDF Displayed in browser
« Reply #7 on: September 02, 2002, 07:31:29 PM »
This is really strange!

How about sharing the corresponding lines from your apache log?

Garret

Re: PDF Displayed in browser
« Reply #8 on: September 02, 2002, 08:11:08 PM »
Already have, you just didn't know it. :-)

Here they are

[Sun Sep  1 15:18:42 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/ibays/workfitters2/files/MPN.pdf
[Sun Sep  1 15:18:56 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/ibays/workfitters2/html/themes/Aqua3/MPNman.pdf
[Sun Sep  1 15:19:00 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/ibays/workfitters2/html/themes/Aqua3/MPN.pdf
[Sun Sep  1 15:19:37 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/ibays/workfitters2/html/MPN.pdf
[Sun Sep  1 15:20:04 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/ibays/workfitters2/html/html/MPN.pdf
[Sun Sep  1 15:20:27 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/ibays/workfitters2/files/MPN.pdf
[Sun Sep  1 15:24:25 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/ibays/workfitters2/html/MPN.pdf
[Mon Sep  2 07:17:28 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/primary/html/test.pdf
[Mon Sep  2 07:18:13 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/primary/html/test.pdf

A case problem you might think? Nope

[Mon Sep  2 07:17:35 2002] [error] [client 192.168.100.132] File does not exist: /home/e-smith/files/primary/html/test.PDF
[Mon Sep  2 09:14:12 2002] [error] [client 192.168.100.135] File does not exist: /home/e-smith/files/primary/html/test.PDF

Is the sky falling or what? this is VERY strange to me.

Lasse Johansson

Re: PDF Displayed in browser
« Reply #9 on: September 03, 2002, 01:30:55 AM »
...and you're absolutely SURE that you:

1. Have enabled html access for your ibay "workfitters2" ???

2. Haven't screwed up anything in your httpd.conf ????

3. Have correct filepermissions on your files as well as the directories inside "workfitter2" ???

What happens if you pu a simple GIF image at, let's say, /home/e-smith/files/ibays/workfitters2/html/test.gif ?
Will it show up?

If it does, what answer does a
ll /home/e-smith/files/ibays/workfitters2/html/* give?

Garret

Re: PDF Displayed in browser
« Reply #10 on: September 03, 2002, 01:50:29 AM »
Just keeps getting better and better doesn't it?

http://workfitters2.ruffdogs.com is the site
http://workfitters2.ruffdogs.com/test.pdf is where the file SHOULD be

and now to throw a wrinkle into things even more . . . .

http://workfitters2.ruffdogs.com/test

this tells me it's a server issue for sure. Is ANYBODY able to get a pdf to work on their webserver the way it should?

Thanks

Garret

Garret

Re: PDF Displayed in browser
« Reply #11 on: September 03, 2002, 01:51:48 AM »
Just tried on another server with the same results.