Re: Web page problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 21 June 2008, Tim wrote:
>On Fri, 2008-06-20 at 11:35 -0400, Gene Heskett wrote:
>> I have setup a softlink from /var/www/html/gene/linkname
>> That points to another directory here, owned by a different user.  All
>> that has been chown'ed to apache:apache as I just noted some of it was
>> owned by root.
>
>For what it's worth, it's not a good idea to chown webserveable files to
>Apache.  That'll (usually) let the webserver write all over them.  The
>usual way to webserve files is to have someone else own them, and make
>the directories and files world readable.

I did have them set that way originally, and you are right, I should swap them 
back to a user.
>
>> I can goto that page with FF3 and display the contents as a file
>> listing just fine.
>
>Do you mean you're browsing the file systems directly, not through a web
>server?  e.g. file:///var/www/html/gene/.....

Nope, thru <http:me.homelinux.net:85/gene/> etc.

>Or that you're browsing a file listing produced by the webserver?
>e.g. http://localhost/gene/

Which also works.

>> I cannot actually view, from a web browser, any of the text files
>> there displayed, or start a download of any of the compressed files
>> that may be there.
>>
>> Just for grins I fired up FF-2.0.0.14, and it works fine.  Is there
>> some option I need to enable in FF3?
>
>Using the Firefox 3 that came with Fedora 9 (current update to it), I've
>not come across any cases where it won't download something from my
>webservers that the older Firefox would.

This is the FF3 distribution tarball version.

>What sort of things are you trying to download?  Are they anything that
>might appear to be like a Firefox add-on, which might be blocked by
>preferences?  (Though I'd expect a warning, rather than silent
>blocking.)
>
>If it weren't for things working in one browser, but not another, I'd be
>suspecting a SELinux issue (the contexts of your files not being
>webservable), or plain old permissions issues (files being world
>readable, and directories, and all parent directories, being world
>readable).

Apache doesn't own these, and setroubleshooter is running, so I would be 
instantly advised of a selinux perms problem I believe.
>
>Another thing that springs to mind:  Is it downloading them, but doing
>it in the background?  (No indication that it's doing a download, no
>indication that it's done.)  Have a look in your downloads directory.

No, they aren't there.

Thanks Tim.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
<BenC> cerb: we subscribed you to debian-fight as the moderator
<BenC> cerb: list rules are, 1) no nice emails, 2) no apologies

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux